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 (
-
-
-
- )}
- >
- {hasVBA => (
-
- (
-
- )}
- fallbackIcon={Expensicons.FallbackWorkspaceAvatar}
- style={[styles.mb3]}
- anchorPosition={{top: 172, right: 18}}
- isUsingDefaultAvatar={!this.state.previewAvatarURL}
- onImageSelected={this.uploadAvatar}
- onImageRemoved={this.removeAvatar}
- />
-
- this.setState({name})}
- value={this.state.name}
- hasError={!this.state.name.trim().length}
- errorText={this.state.name.trim().length ? '' : this.props.translate('workspace.editor.nameIsRequiredError')}
- />
-
-
- this.setState({currency})}
- items={this.getCurrencyItems()}
- value={this.state.currency}
- isDisabled={hasVBA}
+
+
+
+
+ )}
+ >
+ {hasVBA => (
+
+ (
+
+ )}
+ fallbackIcon={Expensicons.FallbackWorkspaceAvatar}
+ style={[styles.mb3]}
+ anchorPosition={{top: 172, right: 18}}
+ isUsingDefaultAvatar={!this.state.previewAvatarURL}
+ onImageSelected={this.uploadAvatar}
+ onImageRemoved={this.removeAvatar}
/>
+
+ this.setState({name})}
+ value={this.state.name}
+ hasError={!this.state.name.trim().length}
+ errorText={this.state.name.trim().length ? '' : this.props.translate('workspace.editor.nameIsRequiredError')}
+ />
+
+
+ this.setState({currency})}
+ items={this.getCurrencyItems()}
+ value={this.state.currency}
+ isDisabled={hasVBA}
+ />
+
+
+ {this.props.translate('workspace.editor.currencyInputHelpText')}
+
-
- {this.props.translate('workspace.editor.currencyInputHelpText')}
-
-
- )}
-
+ )}
+
+
);
}
}