Add productName to isSingleProduct object

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia 2024-10-24 16:54:23 +02:00
parent d15adeb8cf
commit 4254a825a9
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393

View File

@ -79,6 +79,7 @@ export function init($plugin, store) {
};
store.dispatch('setIsSingleProduct', {
productName: PRODUCT_NAME,
logo: require(`@shell/assets/images/providers/harvester.svg`),
productNameKey: 'harvester.productLabel',
getVersionInfo: (store) => store.getters[`${PRODUCT_NAME}/byId`]?.(HCI.SETTING, 'server-version')?.value || 'unknown',