From 43958a90bdc0bc3385e175b1abb3c97bb3ee3320 Mon Sep 17 00:00:00 2001 From: ThaumRystra Date: Sat, 9 Nov 2024 13:43:01 +0200 Subject: [PATCH] Removed drag handles from spells in spell lists Spell lists often have spells from many sources, and dragging spells around in a UI that doesn't show what you might be breaking is a foot gun. --- .../components/spells/SpellList.vue | 109 ++++-------------- .../components/spells/SpellListCard.vue | 18 +-- .../components/spells/SpellListTile.vue | 8 +- 3 files changed, 24 insertions(+), 111 deletions(-) diff --git a/app/imports/client/ui/properties/components/spells/SpellList.vue b/app/imports/client/ui/properties/components/spells/SpellList.vue index 4cde2381..0aaf70c7 100644 --- a/app/imports/client/ui/properties/components/spells/SpellList.vue +++ b/app/imports/client/ui/properties/components/spells/SpellList.vue @@ -4,48 +4,34 @@ dense class="spell-list" > - - - + - - diff --git a/app/imports/client/ui/properties/components/spells/SpellListCard.vue b/app/imports/client/ui/properties/components/spells/SpellListCard.vue index 302f481b..f3e8cf45 100644 --- a/app/imports/client/ui/properties/components/spells/SpellListCard.vue +++ b/app/imports/client/ui/properties/components/spells/SpellListCard.vue @@ -51,24 +51,8 @@ mdi-check - @@ -113,7 +97,7 @@ export default { return CreatureProperties.find(filter, { sort: { level: 1, - order: 1, + left: 1, } }); }, diff --git a/app/imports/client/ui/properties/components/spells/SpellListTile.vue b/app/imports/client/ui/properties/components/spells/SpellListTile.vue index 5a5d5740..38b8fdc6 100644 --- a/app/imports/client/ui/properties/components/spells/SpellListTile.vue +++ b/app/imports/client/ui/properties/components/spells/SpellListTile.vue @@ -21,7 +21,7 @@ {{ spellComponents }} - + -