asdasd
This commit is contained in:
@@ -216,6 +216,7 @@ export function initEditor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function hasUnsavedChanges() {
|
async function hasUnsavedChanges() {
|
||||||
|
if (suppressDirty) return false;
|
||||||
if (!savedSnapshot) return false;
|
if (!savedSnapshot) return false;
|
||||||
const currentSnapshot = await buildCurrentSnapshot();
|
const currentSnapshot = await buildCurrentSnapshot();
|
||||||
if (!currentSnapshot) return false;
|
if (!currentSnapshot) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user