Commit 7acc35d1 authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: 404 error on theme selector

parent 98473f83
......@@ -12,6 +12,7 @@ import {
Observable,
} from "rxjs";
import {
isNullOrUndefined,
ObservableUtil,
StringUtil,
} from "solidify-frontend";
......@@ -56,6 +57,9 @@ export class ThemeSelectorPresentational extends SharedAbstractPresentational {
}
getPathToImage(theme: ThemeEnum): string {
if (isNullOrUndefined(theme)) {
return undefined;
}
return "assets/themes/" + theme + "/logo.svg";
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment