feat: trying to add hashes to scripts
This commit is contained in:
@@ -42,7 +42,11 @@ export const addSeriesInfo: MenuEntry = {
|
||||
//window.location.reload();
|
||||
} catch (e) {
|
||||
state.activeState.value = "error";
|
||||
state.loadingText.value = e.message;
|
||||
if (e instanceof Error) {
|
||||
if ("message" in e) {
|
||||
state.loadingText.value = e.message;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
})),
|
||||
@@ -53,7 +57,11 @@ export const addSeriesInfo: MenuEntry = {
|
||||
state.activeState.value = "normal";
|
||||
} catch (e) {
|
||||
state.activeState.value = "error";
|
||||
state.loadingText.value = e.message;
|
||||
if (e instanceof Error) {
|
||||
if ("message" in e) {
|
||||
state.loadingText.value = e.message;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
visible: () => {
|
||||
|
||||
Reference in New Issue
Block a user