Show missing loading placeholders
This commit is contained in:
@@ -201,7 +201,7 @@ export function About() {
|
||||
|
||||
useSetDefaultBackTo('settings');
|
||||
|
||||
const { data } = requestManager.useGetAbout();
|
||||
const { data, loading } = requestManager.useGetAbout();
|
||||
const { aboutServer, aboutWebUI } = data ?? {};
|
||||
|
||||
const {
|
||||
@@ -235,6 +235,10 @@ export function About() {
|
||||
!!selectedServerChannelInfo?.tag && selectedServerChannelInfo.tag !== getVersion(aboutServer);
|
||||
const isWebUIUpdateAvailable = !!webUIUpdateData?.checkForWebUIUpdate.updateAvailable;
|
||||
|
||||
if (loading) {
|
||||
return <LoadingPlaceholder />;
|
||||
}
|
||||
|
||||
return (
|
||||
<List>
|
||||
<List
|
||||
|
||||
Reference in New Issue
Block a user