epic demo mode
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pünkösd Marcell 2020-12-08 21:21:41 +01:00
parent f1e309381a
commit 1a3df3a67d
1 changed files with 8 additions and 1 deletions

View File

@ -26,6 +26,10 @@
<element-adder @addElement="newElement"/>
</md-content>
<md-snackbar md-position="left" :md-duration="4000" :md-active.sync="showDemoMessage">
<span>Your streaming solution is ready!</span>
</md-snackbar>
</div>
</template>
@ -63,7 +67,8 @@ export default {
scale: 1,
nodes: [],
links: []
}
},
showDemoMessage: false
}),
methods: {
newElement(type) {
@ -321,6 +326,8 @@ export default {
Promise.all(delete_promises).then(() => {
this.processingNodeChanges = false;
// Epic demo mode
this.showDemoMessage = this.$store.state.auth.name === 'demo';
});
});