mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-01 04:33:02 +03:00
⚡ Add attribute for isNew to section form, to determine if editing existing
This commit is contained in:
parent
f624dba4f9
commit
e6a607572e
@ -12,7 +12,7 @@
|
||||
@openContextMenu="openContextMenu"
|
||||
>
|
||||
<!-- If no items, show message -->
|
||||
<div v-if="!items || items.length < 1" class="no-items">
|
||||
<div v-if="(!items || items.length < 1) && !isEditMode" class="no-items">
|
||||
No Items to Show Yet
|
||||
</div>
|
||||
<!-- Item Container -->
|
||||
@ -69,6 +69,7 @@
|
||||
v-if="editMenuOpen"
|
||||
@closeEditSection="closeEditSection"
|
||||
:sectionIndex="index"
|
||||
:isAddNew="false"
|
||||
/>
|
||||
<!-- Right-click item options context menu -->
|
||||
<ContextMenu
|
||||
|
Loading…
Reference in New Issue
Block a user