File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/components/cylc/workspace Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
155155 {{ statusMessage }}
156156 </span >
157157
158+ <!-- workflow version if different from UIS cylc-flow version -->
159+ <span class =" version-pop text-body-2" >
160+ {{ versionPopup }}
161+ </span >
162+
158163 <v-spacer class =" mx-0" />
159164
160165 <v-btn
@@ -235,6 +240,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
235240</template >
236241
237242<script >
243+ import { inject } from ' vue'
238244import { mapState } from ' vuex'
239245import {
240246 mdiCog ,
@@ -393,6 +399,16 @@ export default {
393399 statusMessage () {
394400 return upperFirst (this .currentWorkflow .node .statusMsg || ' ' )
395401 },
402+ versionPopup () {
403+ let ret = ' '
404+ if (
405+ this .currentWorkflow .node .cylcVersion &&
406+ this .currentWorkflow .node .cylcVersion !== inject (' versionInfo' ).value ? .[' cylc-flow' ]
407+ ) {
408+ ret += ` • Cylc ${ this .currentWorkflow .node .cylcVersion } `
409+ }
410+ return ret
411+ },
396412 enabled () {
397413 // object holding the states of controls that are supposed to be enabled
398414 // NOTE: this is a temporary solution until we are able to subscribe to
You can’t perform that action at this time.
0 commit comments