This commit is contained in:
parent
f1e309381a
commit
1a3df3a67d
@ -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';
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user