Skip to content

Commit 7e47674

Browse files
committed
add owner@host to toolbar
1 parent bbf2ba9 commit 7e47674

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/cylc/workspace/Toolbar.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ subscription Workflow ($workflowId: ID) {
266266
267267
fragment WorkflowData on Workflow {
268268
id
269+
host
270+
owner
269271
status
270272
statusMsg
271273
nEdgeDistance
@@ -375,6 +377,9 @@ export default {
375377
},
376378
statusAndVersion () {
377379
let ret = upperFirst(this.currentWorkflow.node.statusMsg || '')
380+
if (this.currentWorkflow.node.host && this.currentWorkflow.node.owner) {
381+
ret += `${this.currentWorkflow.node.owner}@${this.currentWorkflow.node.host}`
382+
}
378383
if (this.currentWorkflow.node.cylcVersion) {
379384
ret += ` • Cylc ${this.currentWorkflow.node.cylcVersion}`
380385
}

0 commit comments

Comments
 (0)