 
     @addClass 'overlay from-top'
     @prop 'id', 'spark-ide-select-wifi-view'
-    @listPortsPromise = null
+
+    @port = null
 
   destroy: ->
     @remove()


      cp.exec '/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s', (error, stdout, stderr) =>
        # TODO: Parse networks list
        console.log stdout


  confirmed: (item) ->
    # TODO: Test this
    atom.workspaceView.trigger 'spark-ide:enter-wifi-credentials', [@port, item.value, item.security]
    @cancel()

  getFilterKey: ->
