From f39cbe7d803245702885b308ab1cee4551aea9a1 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Sat, 4 Sep 2021 17:03:53 +0200 Subject: chore: remove what's new functionality (#1864) --- src/features/workspaces/components/WorkspacesDashboard.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/features/workspaces') diff --git a/src/features/workspaces/components/WorkspacesDashboard.js b/src/features/workspaces/components/WorkspacesDashboard.js index 8319d3bc6..5f34204f1 100644 --- a/src/features/workspaces/components/WorkspacesDashboard.js +++ b/src/features/workspaces/components/WorkspacesDashboard.js @@ -20,7 +20,7 @@ const messages = defineMessages({ }, noServicesAdded: { id: 'settings.workspaces.noWorkspacesAdded', - defaultMessage: '!!!You haven\'t created any workspaces yet.', + defaultMessage: "!!!You haven't created any workspaces yet.", }, workspacesRequestFailed: { id: 'settings.workspaces.workspacesRequestFailed', @@ -61,9 +61,6 @@ const styles = () => ({ appear: { height: 'auto', }, - announcementHeadline: { - marginBottom: 0, - }, teaserImage: { width: 250, margin: [-8, 0, 0, 20], @@ -71,7 +68,9 @@ const styles = () => ({ }, }); -@inject('stores') @injectSheet(styles) @observer +@inject('stores') +@injectSheet(styles) +@observer class WorkspacesDashboard extends Component { static propTypes = { classes: PropTypes.object.isRequired, @@ -108,7 +107,6 @@ class WorkspacesDashboard extends Component {

{intl.formatMessage(messages.headline)}

- {/* ===== Workspace updated info ===== */} {updateWorkspaceRequest.wasExecuted && updateWorkspaceRequest.result && ( @@ -175,11 +173,11 @@ class WorkspacesDashboard extends Component { {/* ===== Workspaces list ===== */} - {workspaces.map((workspace) => ( + {workspaces.map(workspace => ( onWorkspaceClick(w)} + onItemClick={w => onWorkspaceClick(w)} /> ))} -- cgit v1.2.3-54-g00ecf