We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55cce4f commit acd5f28Copy full SHA for acd5f28
src/components/cylc/workspace/Toolbar.vue
@@ -318,7 +318,11 @@ export default {
318
setup () {
319
const { showNavBtn } = useNavBtn()
320
const { toggleDrawer } = useDrawer()
321
- const uisFlowVersion = inject('versionInfo').value?.['cylc-flow']
+ const uisVersionInfo = inject('versionInfo')
322
+ let uisFlowVersion = ''
323
+ if (uisVersionInfo) {
324
+ uisFlowVersion = uisVersionInfo.value?.['cylc-flow']
325
+ }
326
return {
327
eventBus,
328
showNavBtn,
0 commit comments