diff --git a/src/components/dialog-edit-workspace/index.js b/src/components/dialog-edit-workspace/index.js index d848cf27..5007dace 100644 --- a/src/components/dialog-edit-workspace/index.js +++ b/src/components/dialog-edit-workspace/index.js @@ -60,8 +60,8 @@ const styles = theme => ({ }, avatar: { fontFamily: theme.typography.fontFamily, - height: 64, - width: 64, + height: 85, + width: 85, background: theme.palette.common.white, borderRadius: 4, color: theme.palette.getContrastText(theme.palette.common.white), @@ -120,6 +120,7 @@ const EditWorkspace = ({ tagName, picturePath, transparentBackground, + isSubWiki, }) => { const { t } = useTranslation(); const [fileSystemPaths, fileSystemPathsSetter] = useState([]); @@ -147,24 +148,26 @@ const EditWorkspace = ({ value={name} onChange={e => onUpdateForm({ name: e.target.value })} /> - - onUpdateForm({ port: event.target.value, homeUrl: `http://localhost:${event.target.value}/` }) - } - /> + {!isSubWiki && ( + + onUpdateForm({ port: event.target.value, homeUrl: `http://localhost:${event.target.value}/` }) + } + /> + )} fileSystemPath.tagName)} @@ -240,45 +243,50 @@ const EditWorkspace = ({ */} - - - - - - onUpdateForm({ hibernateWhenUnused: e.target.checked })} + {!isSubWiki && ( + + + + + + onUpdateForm({ hibernateWhenUnused: e.target.checked })} + /> + + + + - - - - - - onUpdateForm({ disableNotifications: e.target.checked })} + + onUpdateForm({ disableNotifications: e.target.checked })} + /> + + + + - - - - - - onUpdateForm({ disableAudio: e.target.checked })} - /> - - - + + onUpdateForm({ disableAudio: e.target.checked })} + /> + + + + )}