Skip to content

Commit

Permalink
last file cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Sep 23, 2023
1 parent 2dc6fe5 commit fb6706f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VUE_APP_ROOT_API=https://api.sustainability.oregonstate.edu/v2/energy
VUE_APP_ROOT_API=http://localhost:3000
VUE_APP_HOST_ADDRESS=http://localhost:8080
3 changes: 0 additions & 3 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -308,17 +308,14 @@ export default {
showComparison: async function ( target ) {
this.askingForComparison = false
this.removeAllMarkers()
console.log( this.compareStories[0] )
if ( this.compareStories[0] === undefined ) {
this.compareStories.shift()
if ( this.compareStories[0] === undefined ) {
this.showSide = false
this.building_compare_error = true
}
}
console.log( this.compareStories[0] )
let path = this.$store.getters['map/building']( this.compareStories[0] ).path
console.log( this.$store.getters['map/building']( this.compareStories[0] ).description )
if ( this.$store.getters['map/building']( this.compareStories[0] ).description !== 'Electricity' ) {
this.showSide = false
this.building_compare_error = true
Expand Down
16 changes: 1 addition & 15 deletions src/components/map/prompt_error.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
<!--
@Author: Brogan Miner <Brogan>
@Date: 2019-01-03T12:39:57-08:00
@Email: brogan.miner@oregonstate.edu
@Last modified by: Brogan
@Last modified time: 2019-01-27T15:39:07-08:00
-->

<template>
<el-row class="stage_prompt">
<el-col :span="24">
Expand All @@ -27,13 +19,7 @@
</el-row>
</template>
<script>
export default {
methods: {
handle: function ( command ) {
this.$emit( 'compare', command )
}
}
}
export default {}
</script>
<style lang="scss" scoped>
.stage_prompt {
Expand Down

0 comments on commit fb6706f

Please sign in to comment.