diff --git a/src/pages/Entry/Card/EntryBuys.vue b/src/pages/Entry/Card/EntryBuys.vue index a65e7e1c9..a96edb1db 100644 --- a/src/pages/Entry/Card/EntryBuys.vue +++ b/src/pages/Entry/Card/EntryBuys.vue @@ -285,7 +285,7 @@ const toggleGroupingMode = async (buy, mode) => { } }; -const showLockIcon = (groupingMode, mode) => { +const lockIconType = (groupingMode, mode) => { if (mode === 'packing') { return groupingMode === 2 ? 'lock' : 'lock_open'; } else { @@ -363,7 +363,7 @@ const showLockIcon = (groupingMode, mode) => { > { dense unelevated push + :style="{ + 'font-variation-settings': `'FILL' ${ + lockIconType( + props.row.groupingMode, + col.name + ) === 'lock' + ? 1 + : 0 + }`, + }" />