3
0

Fix lint issues

This commit is contained in:
Jože Fortun
2023-07-17 09:39:58 +02:00
parent 4fc45d97a7
commit c22d9085ea
2 changed files with 2 additions and 2 deletions
@@ -76,7 +76,7 @@ export default {
magnifyParams () {
const params = this.block.blockID === NoID ? { block: this.block } : { blockID: this.block.blockID }
return this.isBlockMagnified ? undefined : params
}
},
},
}
</script>
@@ -886,7 +886,7 @@ export default {
checkUnsavedBlocks (next, to = { query: {} }) {
// Check if additional query params will be appended to url
const queryParams = Object.keys(to.query).filter(key => key !== 'layoutID')
next(!this.unsavedBlocks.size || queryParams || window.confirm(this.$t('build.unsavedChanges')))
next(!this.unsavedBlocks.size || queryParams || window.confirm(this.$t('build.unsavedChanges')))
},
async setLayout () {