mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 15:39:24 +08:00
fix: skip maintaining
This commit is contained in:
parent
fc57b19887
commit
4fa23e17ef
@ -32,7 +32,7 @@ export const AppComponent: FC<AppComponentProps> = observer(
|
||||
const AppError = app.getComponent('AppError');
|
||||
if (app.loading) return app.renderComponent('AppSpin', { app });
|
||||
if (!app.maintained && app.maintaining) return app.renderComponent('AppMaintaining', { app });
|
||||
if (app.error?.code) {
|
||||
if (app.error?.code && app.error?.code !== 'APP_COMMANDING') {
|
||||
return <AppError app={app} error={app.error} />;
|
||||
}
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user