fix: hydrating server config should always be null if not present

This commit is contained in:
Paul Makles
2021-12-26 23:12:49 +00:00
parent 55b79536d4
commit 6caf0e6018

View File

@@ -32,7 +32,7 @@ export default class ServerConfig
} }
@action hydrate(data: RevoltConfiguration) { @action hydrate(data: RevoltConfiguration) {
this.config = data; this.config = data ?? null;
} }
/** /**