|
@ -65,18 +65,9 @@ const StarredView = () => { |
|
|
if (e.ctrlKey) { |
|
|
if (e.ctrlKey) { |
|
|
dispatch(toggleSelected(rowData)); |
|
|
dispatch(toggleSelected(rowData)); |
|
|
} else if (e.shiftKey) { |
|
|
} else if (e.shiftKey) { |
|
|
if (favorite.active.tab === 'tracks') { |
|
|
|
|
|
dispatch(setRangeSelected(rowData)); |
|
|
|
|
|
if (searchQuery !== '') { |
|
|
|
|
|
dispatch(toggleRangeSelected(filteredData)); |
|
|
|
|
|
} else { |
|
|
|
|
|
dispatch(toggleRangeSelected(data.song)); |
|
|
|
|
|
} |
|
|
|
|
|
} else if (favorite.active.tab === 'albums') { |
|
|
|
|
|
dispatch(setRangeSelected(rowData)); |
|
|
dispatch(setRangeSelected(rowData)); |
|
|
dispatch(toggleRangeSelected(tableData)); |
|
|
dispatch(toggleRangeSelected(tableData)); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
}, 100); |
|
|
}, 100); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|