@afeefa/vue-app 0.0.197 → 0.0.199

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.197
1
+ 0.0.199
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.197",
3
+ "version": "0.0.199",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -81,10 +81,12 @@ export default class FlyingContext extends Mixins(CancelOnEscMixin) {
81
81
  this.$events.dispatch(new FlyingContextEvent(FlyingContextEvent.START_HIDE_CONTEXT))
82
82
 
83
83
  setTimeout(() => { // fade in then hide contents
84
- this.$el.appendChild(this.getContent())
85
- this.coe_unwatchCancel() // hide context -> do not watch esc any more
86
- this.isVisible = false
87
- this.$emit('hide')
84
+ if (this.$el && this.getContent()) { // if left current route, this might not be existing any longer
85
+ this.$el.appendChild(this.getContent())
86
+ this.coe_unwatchCancel() // hide context -> do not watch esc any more
87
+ this.isVisible = false
88
+ this.$emit('hide')
89
+ }
88
90
  }, 200)
89
91
  }
90
92
  }
@@ -10,6 +10,7 @@
10
10
  v-if="icon"
11
11
  :color="icon.color"
12
12
  size="2rem"
13
+ :title="label"
13
14
  @click="derail"
14
15
  >
15
16
  {{ icon.icon }}