fix: missing demo logo (#1954)

This commit is contained in:
Alex Christoffer Rasmussen
2026-01-26 13:52:29 +01:00
committed by GitHub
parent 7b5f797c95
commit 04c5b67475
3 changed files with 22 additions and 0 deletions
@@ -37,6 +37,7 @@ import {
moveCorruptFile,
parseJsonFile,
} from './projectServiceUtils.js';
import { populateOntimeLogo } from '../../setup/loadOntimeLogo.js';
type ProjectState =
| {
@@ -113,6 +114,7 @@ async function loadProject(projectData: DatabaseModel, fileName: string, rundown
* Loads the demo project
*/
export async function loadDemoProject(): Promise<string> {
populateOntimeLogo();
return createProject(config.demoProject, demoDb);
}