Display currently installed version in editor-ui

This commit is contained in:
Jan Oberhauser
2019-09-11 18:40:22 +02:00
parent 52bd08fae0
commit d6b8b9544f
6 changed files with 17 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
<el-menu-item index="logo" class="logo-item">
<img src="/n8n-icon-small.png" class="icon" alt="n8n.io"/>
<a href="https://n8n.io" class="logo-text" target="_blank" slot="title">
n8n.io
n8n.io - Currently installed version {{versionCli}}
</a>
</el-menu-item>
@@ -205,6 +205,9 @@ export default mixins(
currentWorkflow (): string {
return this.$route.params.name;
},
versionCli (): string {
return this.$store.getters.versionCli;
},
workflowExecution (): IExecutionResponse | null {
return this.$store.getters.getWorkflowExecution;
},