Skip to content

Commit

Permalink
fix: choose edge connection clean up
Browse files Browse the repository at this point in the history
Cleaned up an earlier try to use vuex and redirect
  • Loading branch information
BKristenssonAlfsson committed May 9, 2020
1 parent 16b1878 commit d0b563b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/views/ChooseEdgeConnection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ import AppFrame from '@/components/AppFrame.vue'
import {
REMOVE_REMOTE_PEER_ID
} from '../store/action-types.js'
import { mapState } from 'vuex'
import {
PEER_CONNECTED
} from '@/store/mutation-types'
export default {
data: () => {
Expand Down Expand Up @@ -134,14 +130,6 @@ export default {
this.edgeAddress = value
this.validateIP(value)
}
},
computed: {
...mapState({
isEdgeConnected: function (state) {
console.debug(`app frame: state.pnp.peerConnectionStatus: ${state.pnp.peerConnectionStatus}`)
return state.pnp.peerConnectionStatus === PEER_CONNECTED
}
})
}
}
</script>
Expand Down

0 comments on commit d0b563b

Please sign in to comment.