Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't try updating queue if there are no entry types
  • Loading branch information
regalijan committed Nov 8, 2023
1 parent 7087b2e commit cc8c03a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/routes/mod-queue.tsx
Expand Up @@ -337,6 +337,7 @@ export default function () {
messageChannel.current = new MessageChannel();

(async function () {
if (!pageProps.entry_types.length) return;
await updateQueue(pageProps.entry_types[0].value, before, false, true);
})();

Expand Down

0 comments on commit cc8c03a

Please sign in to comment.