mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	fix: Changed sorting icons (#6354)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
		| @@ -32,7 +32,7 @@ | |||||||
|               v-bind="props" |               v-bind="props" | ||||||
|             > |             > | ||||||
|               <v-icon :start="!$vuetify.display.xs"> |               <v-icon :start="!$vuetify.display.xs"> | ||||||
|                 {{ state.orderDirection === "asc" ? $globals.icons.sortAscending : $globals.icons.sortDescending }} |                 {{ state.orderDirection === "asc" ? $globals.icons.sortDescending : $globals.icons.sortAscending }} | ||||||
|               </v-icon> |               </v-icon> | ||||||
|               {{ $vuetify.display.xs ? null : sortText }} |               {{ $vuetify.display.xs ? null : sortText }} | ||||||
|             </v-btn> |             </v-btn> | ||||||
| @@ -42,7 +42,7 @@ | |||||||
|               <v-list-item |               <v-list-item | ||||||
|                 slim |                 slim | ||||||
|                 density="comfortable" |                 density="comfortable" | ||||||
|                 :prepend-icon="state.orderDirection === 'asc' ? $globals.icons.sortDescending : $globals.icons.sortAscending" |                 :prepend-icon="state.orderDirection === 'asc' ? $globals.icons.sortAscending : $globals.icons.sortDescending" | ||||||
|                 :title="state.orderDirection === 'asc' ? $t('general.sort-descending') : $t('general.sort-ascending')" |                 :title="state.orderDirection === 'asc' ? $t('general.sort-descending') : $t('general.sort-ascending')" | ||||||
|                 @click="toggleOrderDirection" |                 @click="toggleOrderDirection" | ||||||
|               /> |               /> | ||||||
|   | |||||||
| @@ -47,7 +47,7 @@ | |||||||
|             left |             left | ||||||
|             color="primary" |             color="primary" | ||||||
|           > |           > | ||||||
|             {{ $globals.icons.knfife }} |             {{ $globals.icons.knife }} | ||||||
|           </v-icon> |           </v-icon> | ||||||
|           <p class="my-0"> |           <p class="my-0"> | ||||||
|             <span class="font-weight-bold opacity-80">{{ validatePrepTime.name }}</span><br>{{ validatePrepTime.value }} |             <span class="font-weight-bold opacity-80">{{ validatePrepTime.name }}</span><br>{{ validatePrepTime.value }} | ||||||
|   | |||||||
| @@ -1,159 +1,159 @@ | |||||||
| import { | import { | ||||||
|   mdiAccount, |   mdiAccount, | ||||||
|   mdiSilverwareVariant, |  | ||||||
|   mdiPlus, |  | ||||||
|   mdiPlusCircle, |  | ||||||
|   mdiDelete, |  | ||||||
|   mdiContentSave, |  | ||||||
|   mdiContentSaveEdit, |  | ||||||
|   mdiSquareEditOutline, |  | ||||||
|   mdiClose, |  | ||||||
|   mdiTagArrowUpOutline, |  | ||||||
|   mdiTagArrowRight, |  | ||||||
|   mdiTagMultipleOutline, |  | ||||||
|   mdiShapeOutline, |  | ||||||
|   mdiBookOutline, |  | ||||||
|   mdiAccountCog, |   mdiAccountCog, | ||||||
|   mdiAccountGroup, |   mdiAccountGroup, | ||||||
|   mdiSlotMachine, |   mdiAccountPlusOutline, | ||||||
|   mdiHome, |   mdiAlert, | ||||||
|   mdiHomeAccount, |  | ||||||
|   mdiMagnify, |  | ||||||
|   mdiPotSteamOutline, |  | ||||||
|   mdiTranslate, |  | ||||||
|   mdiClockTimeFourOutline, |  | ||||||
|   mdiImport, |  | ||||||
|   mdiEmail, |  | ||||||
|   mdiLock, |  | ||||||
|   mdiEye, |  | ||||||
|   mdiDrag, |  | ||||||
|   mdiEyeOff, |  | ||||||
|   mdiCalendarMinus, |  | ||||||
|   mdiAlertOutline, |  | ||||||
|   mdiCalendar, |  | ||||||
|   mdiDiceMultiple, |  | ||||||
|   mdiAlertCircle, |   mdiAlertCircle, | ||||||
|   mdiDotsVertical, |   mdiAlertOutline, | ||||||
|   mdiPrinter, |   mdiApi, | ||||||
|   mdiPrinterPosCog, |   mdiArrowLeftBold, | ||||||
|   mdiShareVariant, |   mdiArrowLeftBoldOutline, | ||||||
|   mdiChevronDown, |   mdiArrowRightBold, | ||||||
|   mdiHeart, |   mdiArrowRightBoldOutline, | ||||||
|   mdiHeartOutline, |   mdiBackupRestore, | ||||||
|   mdiDotsHorizontal, |   mdiBeakerOutline, | ||||||
|  |   mdiBellAlert, | ||||||
|  |   mdiBellPlus, | ||||||
|  |   mdiBookOpenPageVariant, | ||||||
|  |   mdiBookOutline, | ||||||
|  |   mdiBowlMixOutline, | ||||||
|  |   mdiBroom, | ||||||
|  |   mdiCalendar, | ||||||
|  |   mdiCalendarMinus, | ||||||
|  |   mdiCalendarMultiselect, | ||||||
|  |   mdiCalendarToday, | ||||||
|  |   mdiCalendarWeek, | ||||||
|  |   mdiCalendarWeekBegin, | ||||||
|  |   mdiCartCheck, | ||||||
|  |   mdiChartLine, | ||||||
|  |   mdiCheck, | ||||||
|  |   mdiCheckBold, | ||||||
|   mdiCheckboxBlankOutline, |   mdiCheckboxBlankOutline, | ||||||
|  |   mdiCheckboxMarkedCircle, | ||||||
|  |   mdiCheckboxOutline, | ||||||
|  |   mdiChefHat, | ||||||
|  |   mdiChevronDown, | ||||||
|  |   mdiChevronRight, | ||||||
|  |   mdiClipboardCheck, | ||||||
|  |   mdiClockTimeFourOutline, | ||||||
|  |   mdiClose, | ||||||
|  |   mdiCloudUpload, | ||||||
|  |   mdiCodeJson, | ||||||
|  |   mdiCodeTags, | ||||||
|  |   mdiCog, | ||||||
|   mdiCommentTextMultiple, |   mdiCommentTextMultiple, | ||||||
|   mdiCommentTextMultipleOutline, |   mdiCommentTextMultipleOutline, | ||||||
|  |   mdiContentCopy, | ||||||
|  |   mdiContentDuplicate, | ||||||
|  |   mdiContentSave, | ||||||
|  |   mdiContentSaveEdit, | ||||||
|  |   mdiCookie, | ||||||
|  |   mdiCursorMove, | ||||||
|  |   mdiDatabase, | ||||||
|  |   mdiDelete, | ||||||
|  |   mdiDesktopTowerMonitor, | ||||||
|  |   mdiDevTo, | ||||||
|  |   mdiDiceMultiple, | ||||||
|  |   mdiDockBottom, | ||||||
|  |   mdiDockLeft, | ||||||
|  |   mdiDockRight, | ||||||
|  |   mdiDockTop, | ||||||
|  |   mdiDocker, | ||||||
|  |   mdiDotsHorizontal, | ||||||
|  |   mdiDotsVertical, | ||||||
|   mdiDownload, |   mdiDownload, | ||||||
|  |   mdiDrag, | ||||||
|  |   mdiEmail, | ||||||
|  |   mdiEye, | ||||||
|  |   mdiEyeOff, | ||||||
|   mdiFile, |   mdiFile, | ||||||
|   mdiFilePdfBox, |   mdiFileCabinet, | ||||||
|   mdiFileImage, |   mdiFileImage, | ||||||
|   mdiCodeJson, |   mdiFilePdfBox, | ||||||
|   mdiCog, |   mdiFileSign, | ||||||
|  |   mdiFilter, | ||||||
|  |   mdiFlipHorizontal, | ||||||
|  |   mdiFlipVertical, | ||||||
|  |   mdiFolderOutline, | ||||||
|  |   mdiFolderZipOutline, | ||||||
|  |   mdiFood, | ||||||
|  |   mdiFoodApple, | ||||||
|  |   mdiFormSelect, | ||||||
|  |   mdiFormatColorFill, | ||||||
|  |   mdiFormatListChecks, | ||||||
|  |   mdiGithub, | ||||||
|  |   mdiHeart, | ||||||
|  |   mdiHeartOutline, | ||||||
|  |   mdiHelpCircleOutline, | ||||||
|  |   mdiHome, | ||||||
|  |   mdiHomeAccount, | ||||||
|  |   mdiImport, | ||||||
|  |   mdiInformation, | ||||||
|  |   mdiInformationOutline, | ||||||
|  |   mdiInformationVariant, | ||||||
|  |   mdiKnife, | ||||||
|  |   mdiLink, | ||||||
|  |   mdiLinkVariant, | ||||||
|  |   mdiLinkVariantPlus, | ||||||
|  |   mdiLock, | ||||||
|  |   mdiLogout, | ||||||
|  |   mdiMagnify, | ||||||
|  |   mdiMenu, | ||||||
|  |   mdiMessageText, | ||||||
|  |   mdiMinus, | ||||||
|  |   mdiNewBox, | ||||||
|  |   mdiNotificationClearAll, | ||||||
|  |   mdiOpenInNew, | ||||||
|  |   mdiOrderAlphabeticalAscending, | ||||||
|  |   mdiPageLayoutBody, | ||||||
|  |   mdiPlus, | ||||||
|  |   mdiPlusCircle, | ||||||
|  |   mdiPotSteamOutline, | ||||||
|  |   mdiPrinter, | ||||||
|  |   mdiPrinterPosCog, | ||||||
|  |   mdiRefresh, | ||||||
|  |   mdiRefreshCircle, | ||||||
|  |   mdiRobot, | ||||||
|  |   mdiRotateLeft, | ||||||
|  |   mdiRotateRight, | ||||||
|  |   mdiSelectionDrag, | ||||||
|  |   mdiShapeOutline, | ||||||
|  |   mdiShareVariant, | ||||||
|  |   mdiShuffleVariant, | ||||||
|  |   mdiSilverwareForkKnife, | ||||||
|  |   mdiSilverwareVariant, | ||||||
|  |   mdiSlotMachine, | ||||||
|   mdiSort, |   mdiSort, | ||||||
|   mdiSortAscending, |  | ||||||
|   mdiSortDescending, |  | ||||||
|   mdiSortAlphabeticalAscending, |   mdiSortAlphabeticalAscending, | ||||||
|   mdiSortAlphabeticalDescending, |   mdiSortAlphabeticalDescending, | ||||||
|   mdiSortCalendarAscending, |   mdiSortCalendarAscending, | ||||||
|   mdiSortCalendarDescending, |   mdiSortCalendarDescending, | ||||||
|   mdiSortClockAscending, |   mdiSortClockAscending, | ||||||
|   mdiSortClockDescending, |   mdiSortClockDescending, | ||||||
|   mdiOrderAlphabeticalAscending, |   mdiSortReverseVariant, | ||||||
|  |   mdiSortVariant, | ||||||
|  |   mdiSquareEditOutline, | ||||||
|   mdiStar, |   mdiStar, | ||||||
|   mdiNewBox, |   mdiTableEdit, | ||||||
|   mdiShuffleVariant, |   mdiTagArrowRight, | ||||||
|   mdiAlert, |   mdiTagArrowUpOutline, | ||||||
|   mdiCheckboxMarkedCircle, |   mdiTagMultipleOutline, | ||||||
|   mdiInformation, |  | ||||||
|   mdiInformationOutline, |  | ||||||
|   mdiInformationVariant, |  | ||||||
|   mdiBellAlert, |  | ||||||
|   mdiRefreshCircle, |  | ||||||
|   mdiMenu, |  | ||||||
|   mdiWeatherSunny, |  | ||||||
|   mdiWeatherNight, |  | ||||||
|   mdiLink, |  | ||||||
|   mdiRobot, |  | ||||||
|   mdiLinkVariant, |  | ||||||
|   mdiViewModule, |  | ||||||
|   mdiViewDashboard, |  | ||||||
|   mdiTools, |  | ||||||
|   mdiCalendarWeek, |  | ||||||
|   mdiCalendarToday, |  | ||||||
|   mdiCalendarMultiselect, |  | ||||||
|   mdiFormatListChecks, |  | ||||||
|   mdiLogout, |  | ||||||
|   mdiContentCopy, |  | ||||||
|   mdiClipboardCheck, |  | ||||||
|   mdiCloudUpload, |  | ||||||
|   mdiDatabase, |  | ||||||
|   mdiGithub, |  | ||||||
|   mdiFolderOutline, |  | ||||||
|   mdiApi, |  | ||||||
|   mdiTestTube, |   mdiTestTube, | ||||||
|   mdiDevTo, |  | ||||||
|   mdiBackupRestore, |  | ||||||
|   mdiNotificationClearAll, |  | ||||||
|   mdiFood, |  | ||||||
|   mdiWebhook, |  | ||||||
|   mdiFilter, |  | ||||||
|   mdiAccountPlusOutline, |  | ||||||
|   mdiDesktopTowerMonitor, |  | ||||||
|   mdiFormatColorFill, |  | ||||||
|   mdiFormSelect, |  | ||||||
|   mdiPageLayoutBody, |  | ||||||
|   mdiCalendarWeekBegin, |  | ||||||
|   mdiOpenInNew, |  | ||||||
|   mdiCheck, |  | ||||||
|   mdiCheckBold, |  | ||||||
|   mdiBroom, |  | ||||||
|   mdiCartCheck, |  | ||||||
|   mdiArrowLeftBold, |  | ||||||
|   mdiMinus, |  | ||||||
|   mdiWindowClose, |  | ||||||
|   mdiFolderZipOutline, |  | ||||||
|   mdiFoodApple, |  | ||||||
|   mdiBeakerOutline, |  | ||||||
|   mdiArrowLeftBoldOutline, |  | ||||||
|   mdiArrowRightBoldOutline, |  | ||||||
|   mdiTimerSand, |  | ||||||
|   mdiRefresh, |  | ||||||
|   mdiArrowRightBold, |  | ||||||
|   mdiChevronRight, |  | ||||||
|   mdiBowlMixOutline, |  | ||||||
|   mdiWrench, |  | ||||||
|   mdiChartLine, |  | ||||||
|   mdiHelpCircleOutline, |  | ||||||
|   mdiDocker, |  | ||||||
|   mdiUndo, |  | ||||||
|   mdiSelectionDrag, |  | ||||||
|   mdiCursorMove, |  | ||||||
|   mdiText, |   mdiText, | ||||||
|   mdiTextBoxOutline, |   mdiTextBoxOutline, | ||||||
|   mdiTimelineText, |   mdiTimelineText, | ||||||
|   mdiMessageText, |   mdiTimerSand, | ||||||
|   mdiChefHat, |   mdiTools, | ||||||
|   mdiContentDuplicate, |   mdiTranslate, | ||||||
|   mdiDockLeft, |   mdiUndo, | ||||||
|   mdiDockRight, |   mdiViewDashboard, | ||||||
|   mdiDockTop, |   mdiViewModule, | ||||||
|   mdiDockBottom, |   mdiWeatherNight, | ||||||
|   mdiCheckboxOutline, |   mdiWeatherSunny, | ||||||
|   mdiFlipHorizontal, |   mdiWebhook, | ||||||
|   mdiFlipVertical, |   mdiWindowClose, | ||||||
|   mdiRotateLeft, |   mdiWrench, | ||||||
|   mdiRotateRight, |  | ||||||
|   mdiBookOpenPageVariant, |  | ||||||
|   mdiFileCabinet, |  | ||||||
|   mdiSilverwareForkKnife, |  | ||||||
|   mdiCodeTags, |  | ||||||
|   mdiKnife, |  | ||||||
|   mdiCookie, |  | ||||||
|   mdiBellPlus, |  | ||||||
|   mdiLinkVariantPlus, |  | ||||||
|   mdiTableEdit, |  | ||||||
|   mdiFileSign, |  | ||||||
| } from "@mdi/js"; | } from "@mdi/js"; | ||||||
|  |  | ||||||
| export const icons = { | export const icons = { | ||||||
| @@ -205,6 +205,7 @@ export const icons = { | |||||||
|   database: mdiDatabase, |   database: mdiDatabase, | ||||||
|   desktopTowerMonitor: mdiDesktopTowerMonitor, |   desktopTowerMonitor: mdiDesktopTowerMonitor, | ||||||
|   devTo: mdiDevTo, |   devTo: mdiDevTo, | ||||||
|  |   knife: mdiKnife, | ||||||
|   diceMultiple: mdiDiceMultiple, |   diceMultiple: mdiDiceMultiple, | ||||||
|   dockTop: mdiDockTop, |   dockTop: mdiDockTop, | ||||||
|   dockBottom: mdiDockBottom, |   dockBottom: mdiDockBottom, | ||||||
| @@ -261,8 +262,8 @@ export const icons = { | |||||||
|   shuffleVariant: mdiShuffleVariant, |   shuffleVariant: mdiShuffleVariant, | ||||||
|   silverwareForkKnife: mdiSilverwareForkKnife, |   silverwareForkKnife: mdiSilverwareForkKnife, | ||||||
|   sort: mdiSort, |   sort: mdiSort, | ||||||
|   sortAscending: mdiSortAscending, |   sortAscending: mdiSortVariant, | ||||||
|   sortDescending: mdiSortDescending, |   sortDescending: mdiSortReverseVariant, | ||||||
|   sortAlphabeticalAscending: mdiSortAlphabeticalAscending, |   sortAlphabeticalAscending: mdiSortAlphabeticalAscending, | ||||||
|   sortAlphabeticalDescending: mdiSortAlphabeticalDescending, |   sortAlphabeticalDescending: mdiSortAlphabeticalDescending, | ||||||
|   sortCalendarAscending: mdiSortCalendarAscending, |   sortCalendarAscending: mdiSortCalendarAscending, | ||||||
| @@ -284,7 +285,6 @@ export const icons = { | |||||||
|   windowClose: mdiWindowClose, |   windowClose: mdiWindowClose, | ||||||
|   zip: mdiFolderZipOutline, |   zip: mdiFolderZipOutline, | ||||||
|   undo: mdiUndo, |   undo: mdiUndo, | ||||||
|   knfife: mdiKnife, |  | ||||||
|   bread: mdiCookie, |   bread: mdiCookie, | ||||||
|   fileSign: mdiFileSign, |   fileSign: mdiFileSign, | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user