Skip to content

Commit

Permalink
Merge branch 'mealie-next' into mealie-next
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslowry authored Sep 24, 2024
2 parents ec3e41c + 8273761 commit 7ca6687
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion frontend/pages/group/data/labels.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default defineComponent({
editLabel.value = item;
if (!editLabel.value.color) {
editLabel.value.color = "#E0E0E0";
editLabel.value.color = "#959595";
}
}
Expand Down
12 changes: 4 additions & 8 deletions frontend/pages/shopping-lists/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,11 @@

<!-- View By Label -->
<div v-else>
<div v-for="(value, key, idx) in itemsByLabel" :key="key" class="mb-6">
<div @click="toggleShowChecked()">
<span v-if="idx || key !== $tc('shopping-list.no-label')">
<v-icon :color="getLabelColor(value[0])">
{{ $globals.icons.tags }}
</v-icon>
</span>
{{ key }}
<div v-for="(value, key) in itemsByLabel" :key="key" class="mb-6">
<div class="text-left">
<v-btn :color="getLabelColor(value[0]) ? getLabelColor(value[0]) : '#959595'">{{ key }}</v-btn>
</div>
<v-divider/>
<draggable :value="value" handle=".handle" delay="250" :delay-on-touch-only="true" @start="loadingCounter += 1" @end="loadingCounter -= 1" @input="updateIndexUncheckedByLabel(key, $event)">
<v-lazy v-for="(item, index) in value" :key="item.id" class="ml-2 my-2">
<ShoppingListItem
Expand Down
2 changes: 1 addition & 1 deletion mealie/schema/labels/multi_purpose_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class MultiPurposeLabelCreate(MealieModel):
name: str
color: str = "#E0E0E0"
color: str = "#959595"


class MultiPurposeLabelSave(MultiPurposeLabelCreate):
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7ca6687

Please sign in to comment.