We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d5d0fa commit a726ce0Copy full SHA for a726ce0
1 file changed
src/pages/options/routes/script/ScriptEditor.tsx
@@ -257,7 +257,12 @@ function ScriptEditor() {
257
const currentEditorUpdateTime = existingScript.updatetime;
258
const latestUpdateTime = oldScript?.updatetime ?? 0;
259
260
- if (currentEditorUpdateTime !== latestUpdateTime && latestUpdateTime > 0) {
+ if (
261
+ currentEditorUpdateTime !== latestUpdateTime &&
262
+ latestUpdateTime > 0 &&
263
+ script.uuid === existingScript.uuid &&
264
+ script.uuid === oldScript?.uuid
265
+ ) {
266
const modalResult = await new Promise((resolve) => {
267
modal.confirm!({
268
focusLock: false,
0 commit comments