mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix: hydrating server config should always be null if not present
This commit is contained in:
@@ -32,7 +32,7 @@ export default class ServerConfig
|
||||
}
|
||||
|
||||
@action hydrate(data: RevoltConfiguration) {
|
||||
this.config = data;
|
||||
this.config = data ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user