From ac7c6b0ef6e1aa99d08a88374a9b7944d217542d Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 17 Aug 2022 16:50:01 -0600 Subject: [PATCH] rm loading, add not found --- src/pages/workspace/WorkspaceSettingsPage.js | 128 +++++++++---------- 1 file changed, 63 insertions(+), 65 deletions(-) diff --git a/src/pages/workspace/WorkspaceSettingsPage.js b/src/pages/workspace/WorkspaceSettingsPage.js index 3b20f0e86c39..2763b616d8c9 100644 --- a/src/pages/workspace/WorkspaceSettingsPage.js +++ b/src/pages/workspace/WorkspaceSettingsPage.js @@ -18,9 +18,9 @@ import Picker from '../../components/Picker'; import TextInput from '../../components/TextInput'; import FixedFooter from '../../components/FixedFooter'; import WorkspacePageWithSections from './WorkspacePageWithSections'; -import FullScreenLoadingIndicator from '../../components/FullscreenLoadingIndicator'; import withFullPolicy, {fullPolicyPropTypes, fullPolicyDefaultProps} from './withFullPolicy'; import {withNetwork} from '../../components/OnyxProvider'; +import FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView'; const propTypes = { ...fullPolicyPropTypes, @@ -96,73 +96,71 @@ class WorkspaceSettingsPage extends React.Component { } render() { - if (_.isEmpty(this.props.policy)) { - return ; - } - return ( - -