diff --git a/packages/esm-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-actions.modal.tsx b/packages/esm-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-actions.modal.tsx index 1aab929f3..da7b71132 100644 --- a/packages/esm-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-actions.modal.tsx +++ b/packages/esm-service-queues-app/src/queue-table/queue-entry-actions/queue-entry-actions.modal.tsx @@ -180,7 +180,7 @@ export const QueueEntryActionModal: React.FC = ({ return startAtDate > now; }, [formState.transitionDate, formState.transitionTime, formState.transitionTimeFormat]); - const selectedPriorityIndex = priorities.findIndex((p) => p.uuid == formState.selectedPriority); + const selectedPriorityIndex = priorities?.findIndex((p) => p.uuid == formState.selectedPriority); return ( <>