diff --git a/src/store/printer/actions.ts b/src/store/printer/actions.ts index a2af4be52..646953616 100644 --- a/src/store/printer/actions.ts +++ b/src/store/printer/actions.ts @@ -37,6 +37,7 @@ export const actions: ActionTree = { ) commit('setData', { + app_name: payload.app ?? null, hostname: payload.hostname, software_version: payload.software_version, cpu_info: payload.cpu_info, diff --git a/src/store/server/getters.ts b/src/store/server/getters.ts index d10bd4000..8dd86f71b 100644 --- a/src/store/server/getters.ts +++ b/src/store/server/getters.ts @@ -77,6 +77,10 @@ export const getters: GetterTree = { version = rootState.printer?.software_version.split('-').slice(0, 4).join('-') } + if (rootState.printer?.app_name) { + version = rootState.printer?.app_name + ' ' + version + } + let pythonVersion: null | string = null if (state.system_info?.python?.version_string) { const firstSpace = state.system_info?.python?.version_string.indexOf(' ')