File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <template >
2+ <svg
3+ xmlns =" http://www.w3.org/2000/svg"
4+ viewBox =" 0 0 24 24"
5+ width =" 1em"
6+ height =" 1em"
7+ aria-hidden =" true"
8+ >
9+ <rect
10+ x =" 2"
11+ y =" 2"
12+ width =" 20"
13+ height =" 20"
14+ rx =" 3"
15+ ry =" 3"
16+ fill =" currentColor"
17+ />
18+ <text
19+ x =" 12"
20+ y =" 17"
21+ text-anchor =" middle"
22+ font-family =" sans-serif"
23+ font-size =" 13"
24+ font-weight =" bold"
25+ fill =" white"
26+ >
27+ E
28+ </text >
29+ </svg >
30+ </template >
Original file line number Diff line number Diff line change 105105
106106<script setup lang="ts">
107107import { Badge } from " @/components/ui/badge" ;
108+ import ExplicitIcon from " @/components/icons/ExplicitIcon.vue" ;
108109import type { SmartPlaylistRules } from " @/plugins/api/interfaces" ;
109110import { $t } from " @/plugins/i18n" ;
110111import {
@@ -114,7 +115,6 @@ import {
114115 Heart ,
115116 Library ,
116117 Mic2 ,
117- ShieldAlert ,
118118 Sparkles ,
119119 Tags ,
120120 Timer ,
@@ -249,15 +249,15 @@ const ruleRows = computed<RuleViewRow[]>(() => {
249249 if (r .explicit_only === true ) {
250250 rows .push ({
251251 key: " explicit-is" ,
252- icon: ShieldAlert ,
252+ icon: ExplicitIcon ,
253253 label: $t (" smart_playlist.field_explicit" ),
254254 exclude: false ,
255255 value: $t (" smart_playlist.explicit_yes" ),
256256 });
257257 } else if (r .explicit_only === false ) {
258258 rows .push ({
259259 key: " explicit-not" ,
260- icon: ShieldAlert ,
260+ icon: Ban ,
261261 label: $t (" smart_playlist.field_explicit" ),
262262 exclude: true ,
263263 value: $t (" smart_playlist.explicit_no" ),
You can’t perform that action at this time.
0 commit comments