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