mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-31 11:59:10 +00:00
feat: create block from rundown empty
This commit is contained in:
committed by
Carlos Valente
parent
0a44bfe783
commit
67f914bdc0
@@ -329,7 +329,7 @@ export default function Rundown({ data }: RundownProps) {
|
||||
};
|
||||
|
||||
if (sortableData.length < 1) {
|
||||
return <RundownEmpty handleAddNew={() => insertAtId({ type: SupportedEntry.Event }, cursor)} />;
|
||||
return <RundownEmpty handleAddNew={(type: SupportedEntry) => insertAtId({ type }, cursor)} />;
|
||||
}
|
||||
|
||||
// 1. gather presentation options
|
||||
|
||||
Reference in New Issue
Block a user