mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-26 00:50:56 -05:00
fix: hydrating server config should always be null if not present
This commit is contained in:
parent
336e2ddeb7
commit
3999dbbe66
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export default class ServerConfig
|
|||
}
|
||||
|
||||
@action hydrate(data: RevoltConfiguration) {
|
||||
this.config = data;
|
||||
this.config = data ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue