diff --git a/CustomApps/playlist-tags/package.json b/CustomApps/playlist-tags/package.json index 8e02e22..765d1ac 100644 --- a/CustomApps/playlist-tags/package.json +++ b/CustomApps/playlist-tags/package.json @@ -1,6 +1,6 @@ { "name": "playlist-tags", - "version": "1.7.1", + "version": "1.7.2", "private": true, "scripts": { "build": "spicetify-creator", diff --git a/CustomApps/playlist-tags/src/app.tsx b/CustomApps/playlist-tags/src/app.tsx index 358a975..b240d0d 100644 --- a/CustomApps/playlist-tags/src/app.tsx +++ b/CustomApps/playlist-tags/src/app.tsx @@ -297,7 +297,7 @@ const App = () => { break; } }} - onContextMenu={() => {removeTagFromAllPlaylists(new RegExp(escapeRegExp(tag))); setFilterQuery(removeStringFromStringArray(filter_query_terms, tag)); updateTagList()}}>{/* {tag} */} + onContextMenu={() => {removeTagFromAllPlaylists(new RegExp((`^${escapeRegExp(tag)}$`))); setFilterQuery(removeStringFromStringArray(filter_query_terms, tag)); updateTagList()}}>{/* {tag} */}

${tag}` }}>

); @@ -342,7 +342,7 @@ const App = () => { } setActiveLink('Search'); }} - onContextMenu={() => {removeTagFromAllPlaylists(new RegExp(tag)); updateTagList()}}>{tag} + onContextMenu={() => {removeTagFromAllPlaylists(new RegExp(`^${escapeRegExp(tag)}$`)); updateTagList()}}>{tag} )) }