diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:13:40 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:13:40 +0000 |
| commit | c9aefa81ca1950121d2357fc66afe15eb400f537 (patch) | |
| tree | fd6196b55626cea8101cd5a4a00cb2a00d8a495b /components/base/ItemStack/ItemStackFormOptionLabel.vue | |
| parent | 1dd5d0fa8bb2ae794b263d1629a662166a9b9d08 (diff) | |
Fix eslint errors
Diffstat (limited to 'components/base/ItemStack/ItemStackFormOptionLabel.vue')
| -rw-r--r-- | components/base/ItemStack/ItemStackFormOptionLabel.vue | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/components/base/ItemStack/ItemStackFormOptionLabel.vue b/components/base/ItemStack/ItemStackFormOptionLabel.vue index ab067f8..e334950 100644 --- a/components/base/ItemStack/ItemStackFormOptionLabel.vue +++ b/components/base/ItemStack/ItemStackFormOptionLabel.vue @@ -1,20 +1,24 @@ <script setup lang="ts"> defineProps<{ - option: string - label: string - type: string + option: string; + label: string; + type: string; isOptionSetFn: (option: string) => boolean; removeOptionFn: (option: string) => void; setOptionFn: (option: string, type: any) => void; -}>() +}>(); </script> <template> <div class="label-with-button"> <label :for="'itemstack-' + option">{{ label }}</label> - <Button v-if="isOptionSetFn(option)" label="Remove" :icon="['fas', 'minus']" - @click="removeOptionFn(option)"></Button> + <Button + v-if="isOptionSetFn(option)" + label="Remove" + :icon="['fas', 'minus']" + @click="removeOptionFn(option)" + ></Button> </div> </template> @@ -23,4 +27,4 @@ defineProps<{ display: flex; justify-content: space-between; } -</style>
\ No newline at end of file +</style> |
