Disable is_dirty when link not found

This commit is contained in:
philipp lang 2024-07-15 17:00:42 +02:00
parent 158cd2d352
commit 3f4c655e5e
1 changed files with 3 additions and 1 deletions

View File

@ -165,5 +165,7 @@ async function checkIfDirty() {
locked.value = response.data.result;
}
checkIfDirty();
if (props.single.links && props.single.links.is_dirty) {
checkIfDirty();
}
</script>