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