Skip to content

Commit

Permalink
Show placeholder bulk actions for Archive and Share
Browse files Browse the repository at this point in the history
Use 'Delete 1 project' for consistency with bulk delete
  • Loading branch information
p2edwards committed Aug 21, 2023
1 parent 4d5ef3d commit 91a61de
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions jsapp/js/projects/projectsTable/projectBulkActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,29 @@ export default function ProjectBulkActions(props: ProjectBulkActionsProps) {

return (
<div className={actionsStyles.root}>
{/* Archive / Unarchive - Bulk action not supported yet */}
<Button
isDisabled
type='bare'
color='storm'
size='s'
startIcon='archived'
tooltip={t('Archive/Unarchive')}
classNames={['right-tooltip']}
/>

{/* Share - Bulk action not supported yet */}
<Button
isDisabled
type='bare'
color='storm'
size='s'
startIcon='user-share'
tooltip={t('Share project')}
classNames={['right-tooltip']}
/>

{/* Delete */}
<Button
type='bare'
color='storm'
Expand Down
2 changes: 1 addition & 1 deletion jsapp/js/projects/projectsTable/projectQuickActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function ProjectQuickActions(props: ProjectQuickActionsProps) {
color='storm'
size='s'
startIcon='trash'
tooltip={t('Delete')}
tooltip={t('Delete 1 project')}
onClick={() =>
deleteAsset(
props.asset,
Expand Down

0 comments on commit 91a61de

Please sign in to comment.