1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00
This commit is contained in:
mike12345567 2020-12-02 13:27:20 +00:00
parent 1a9f1aed9b
commit 4319c4bb3f
4 changed files with 7 additions and 9 deletions

View file

@ -18,7 +18,7 @@
</script>
<div class="root">
{#if $store.currentFrontEndType === "layout" || $allScreens.length}
{#if $store.currentFrontEndType === 'layout' || $allScreens.length}
<div class="switcher">
<button
class:selected={selected === COMPONENT_SELECTION_TAB}

View file

@ -49,7 +49,6 @@
{:else if tab === 'LAYOUTS'}
<Layout />
{/if}
</Switcher>
</div>
@ -61,8 +60,8 @@
<!-- <Modal bind:this={modal}> -->
<!-- <NewScreenModal /> -->
<!-- </Modal> -->
<!-- {/if} -->
<!-- {/if} -->
<style>
.title {
display: flex;

View file

@ -8,10 +8,10 @@
const currentScreenId = decodeURI($params.screen)
const validScreen = $allScreens.some(screen => screen._id === currentScreenId)
console.log({
validScreen,
console.log({
validScreen,
currentScreenId,
componentIds
componentIds,
})
if (!validScreen) {

View file

@ -1,4 +1,3 @@
class Integration {
constructor() {
}
}
constructor() {}
}