Searched refs:targetIndex (Results 1 – 3 of 3) sorted by relevance
84 const targetIndex = pendingMusicQueue.findIndex(_ => constant87 if (targetIndex !== -1) {89 .slice(0, targetIndex)90 .concat(pendingMusicQueue.slice(targetIndex + 1));97 const targetIndex = downloadingMusicQueue.findIndex(_ => constant100 if (targetIndex !== -1) {102 .slice(0, targetIndex)103 .concat(downloadingMusicQueue.slice(targetIndex + 1));
1310 const targetIndex = plugins.findIndex(_ => _.hash === hash); constant1311 if (targetIndex !== -1) {1313 const pluginName = plugins[targetIndex].name; constant1314 await unlink(plugins[targetIndex].path);
64 targetIndex = currentIndex,68 if (targetIndex < halfMaxMusicQueueLength) {73 targetIndex + halfMaxMusicQueueLength,324 const targetIndex = getMusicIndex(musicItem); constant326 if (targetIndex === -1) {331 if (currentIndex === targetIndex) {334 draft.splice(targetIndex, 1);353 draft.splice(targetIndex, 1);