mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +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) {
|
@action hydrate(data: RevoltConfiguration) {
|
||||||
this.config = data;
|
this.config = data ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user