🚧 Able to display form data from schema

This commit is contained in:
Alicia Sykes
2021-10-16 20:34:31 +01:00
parent 716bb7419a
commit 677f0eea4e
2 changed files with 64 additions and 9 deletions

View File

@@ -40,7 +40,7 @@
@launchItem="launchItem"
@openItemSettings="openItemSettings"
/>
<EditItem v-if="editMenuOpen" />
<EditItem v-if="editMenuOpen" :itemId="id" @closeEditMenu="closeEditMenu" />
</div>
</template>
@@ -226,6 +226,10 @@ export default {
this.$modal.show(modalNames.EDIT_ITEM);
this.$store.commit(StoreKeys.SET_MODAL_OPEN, true);
},
/* Ensure conditional is updated, once menu closed */
closeEditMenu() {
this.editMenuOpen = false;
},
/* Used for smart-sort when sorting items by most used apps */
incrementMostUsedCount(itemId) {
const mostUsed = JSON.parse(localStorage.getItem(localStorageKeys.MOST_USED) || '{}');
@@ -298,7 +302,7 @@ export default {
/* Text in tile */
.tile-title {
white-space: nowrap;
overflow: hidden;
// overflow: hidden;
text-overflow: ellipsis;
min-width: 120px;
height: 30px;