mirror of
https://github.com/nocobase/nocobase.git
synced 2026-08-29 02:03:53 +08:00
fix: skip maintaining
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user