Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajfa committed Jul 17, 2023
1 parent 4fc45d9 commit c22d908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/web/compose/src/components/PageBlocks/Wrap/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
2 changes: 1 addition & 1 deletion client/web/compose/src/views/Admin/Pages/Builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit c22d908

Please sign in to comment.