Apply collection sort only when showing normal collections
This commit is contained in:
@@ -672,10 +672,11 @@ export default function Gallery() {
|
||||
}
|
||||
}),
|
||||
);
|
||||
}
|
||||
const sortAsc = activeCollection?.pubMagicMetadata?.data?.asc ?? false;
|
||||
if (sortAsc) {
|
||||
filteredFiles = sortFiles(filteredFiles, true);
|
||||
const sortAsc =
|
||||
activeCollection?.pubMagicMetadata?.data?.asc ?? false;
|
||||
if (sortAsc) {
|
||||
filteredFiles = sortFiles(filteredFiles, true);
|
||||
}
|
||||
}
|
||||
|
||||
dispatch({
|
||||
|
||||
Reference in New Issue
Block a user