fix(web): reboot required disable update check link

This commit is contained in:
Zack Spear
2023-11-08 15:07:25 -08:00
parent 0e0a652dff
commit 051faa06ac

View File

@@ -104,11 +104,13 @@ export const useUpdateOsActionsStore = defineStore('updateOsActions', () => {
serverStore.inIframe ? 'newTab' : undefined,
);
},
disabled: rebootType.value !== '',
external: true,
icon: updateOsStore.available ? BellAlertIcon : ArrowPathIcon,
name: 'updateOs',
text: updateOsStore.available ? 'Unraid OS {0} Update Available' : 'Check for OS Updates',
textParams: [updateOsStore.available],
title: rebootType.value !== '' ? rebootTypeText.value : '',
};
};