Load and persist style in site settings
cgen-6efb837993bf45768497daf9fe7eaa20
This commit is contained in:
parent
d3cecd1899
commit
5dffbdcd0b
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ export default function BannerSettings() {
|
||||||
if (v && typeof v === "object") {
|
if (v && typeof v === "object") {
|
||||||
setText(String((v as any).text || "ROBLOX AUTH SOON"));
|
setText(String((v as any).text || "ROBLOX AUTH SOON"));
|
||||||
setEnabled((v as any).enabled !== false);
|
setEnabled((v as any).enabled !== false);
|
||||||
|
if ((v as any).style) setStyle(String((v as any).style));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => void 0);
|
.catch(() => void 0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue