diff --git a/packages/frontend/src/components/GlobalsBuilder.vue b/packages/frontend/src/components/GlobalsBuilder.vue index a865bcd26..ee67fca45 100644 --- a/packages/frontend/src/components/GlobalsBuilder.vue +++ b/packages/frontend/src/components/GlobalsBuilder.vue @@ -1,17 +1,23 @@ - - + + + reset globals - - + + + + + + + @@ -32,8 +38,9 @@ export default { id: this.commitId } }, - update: (data) => { + update(data) { delete data.stream.object.data.__closure + this.globalsArray = this.nestedGlobals(data.stream.object.data) return data.stream.object } } @@ -57,7 +64,7 @@ export default { computed: {}, mounted() { //?: how to run this only once but after apollo query is finished loading - this.globalsArray = this.nestedGlobals(this.object.data) + // this.globalsArray = this.nestedGlobals(this.object.data) }, methods: { nestedGlobals(data) { diff --git a/packages/frontend/src/views/Globals.vue b/packages/frontend/src/views/Globals.vue index fc34081e9..c36e071d1 100644 --- a/packages/frontend/src/views/Globals.vue +++ b/packages/frontend/src/views/Globals.vue @@ -1,21 +1,30 @@ - wow globals - - - - - + + Empty State + TODO: Help, there's no globals branch and/or no commits on it! + + + wow globals + + + + + + History + TODO +
TODO: Help, there's no globals branch and/or no commits on it!
TODO