Skip to content

Commit

Permalink
Merge pull request #43669 from Nodebrute/workspace
Browse files Browse the repository at this point in the history
fix workspace empty state
  • Loading branch information
cristipaval authored Jun 20, 2024
2 parents 7561439 + 8ba48de commit 6dc6f81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/workspace/WorkspacesListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ function WorkspacesListPage({policies, reimbursementAccount, reports, session}:
title={translate('common.workspaces')}
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack()}
icon={Illustrations.BigRocket}
>
<Button
accessibilityLabel={translate('workspace.new.newWorkspace')}
Expand All @@ -388,6 +389,7 @@ function WorkspacesListPage({policies, reimbursementAccount, reports, session}:
illustration={LottieAnimations.WorkspacePlanet}
// We use this style to vertically center the illustration, as the original illustration is not centered
illustrationStyle={styles.emptyWorkspaceIllustrationStyle}
titleStyles={styles.textHeadlineH1}
/>
</View>
</ScrollView>
Expand All @@ -406,6 +408,7 @@ function WorkspacesListPage({policies, reimbursementAccount, reports, session}:
title={translate('common.workspaces')}
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack()}
icon={Illustrations.BigRocket}
>
<Button
accessibilityLabel={translate('workspace.new.newWorkspace')}
Expand Down

0 comments on commit 6dc6f81

Please sign in to comment.