fix: hydrating server config should always be null if not present
parent
336e2ddeb7
commit
3999dbbe66
|
|
@ -32,7 +32,7 @@ export default class ServerConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
@action hydrate(data: RevoltConfiguration) {
|
@action hydrate(data: RevoltConfiguration) {
|
||||||
this.config = data;
|
this.config = data ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue