fix:blocking
This commit is contained in:
parent
bdde8fdb6a
commit
a6082a5288
1 changed files with 1 additions and 1 deletions
|
|
@ -1336,7 +1336,7 @@ export async function handleTrackAction(
|
||||||
// Individual Track Actions
|
// Individual Track Actions
|
||||||
// Check if track/artist is blocked
|
// Check if track/artist is blocked
|
||||||
const { contentBlockingSettings } = await import('./storage.js');
|
const { contentBlockingSettings } = await import('./storage.js');
|
||||||
if (type === 'track' && contentBlockingSettings.shouldHideTrack(item)) {
|
if (type === 'track' && action !== 'block-track' && contentBlockingSettings.shouldHideTrack(item)) {
|
||||||
showNotification('This track is blocked');
|
showNotification('This track is blocked');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue