mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 03:13:47 +00:00
refactor: restructure model to contain an object of rundowns
This commit is contained in:
@@ -16,3 +16,7 @@ export function getPropertyFromPath<T extends object>(path: string, obj: T): unk
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
export function isObjectEmpty(obj: object): boolean {
|
||||
return Object.keys(obj).length === 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user