diff --git a/web/store/updateOsActions.ts b/web/store/updateOsActions.ts index 7ed189e2e..cc5ad1e35 100644 --- a/web/store/updateOsActions.ts +++ b/web/store/updateOsActions.ts @@ -199,9 +199,15 @@ export const useUpdateOsActionsStore = defineStore('updateOsActions', () => { /** * By default this will display current version's release notes */ - const viewReleaseNotes = (modalTitle:string, webguiFilePath?:string|undefined) => { // @ts-ignore - if (typeof openChanges === 'function') { // @ts-ignore + const viewReleaseNotes = (modalTitle:string, webguiFilePath?:string|undefined) => { + // @ts-ignore + if (typeof openChanges === 'function') { + // @ts-ignore openChanges(`showchanges ${webguiFilePath ?? '/var/tmp/unRAIDServer.txt'}`, modalTitle); + // @ts-ignore + } else if (typeof openBox === 'function') { + // @ts-ignore + openBox(`/plugins/dynamix.plugin.manager/include/ShowChanges.php?file=${webguiFilePath ?? '/var/tmp/unRAIDServer.txt'}`, modalTitle, 600, 900); } else { alert('Unable to open release notes'); }