Shared Collection Options: Resolved changes
This commit is contained in:
parent
5a3b58e1e8
commit
a92823aeb2
|
@ -15,13 +15,12 @@ interface Iprops {
|
||||||
export function SharedCollectionOption({ handleCollectionAction }: Iprops) {
|
export function SharedCollectionOption({ handleCollectionAction }: Iprops) {
|
||||||
return (
|
return (
|
||||||
<OverflowMenuOption
|
<OverflowMenuOption
|
||||||
color="danger"
|
|
||||||
startIcon={<DeleteOutlinedIcon />}
|
startIcon={<DeleteOutlinedIcon />}
|
||||||
onClick={handleCollectionAction(
|
onClick={handleCollectionAction(
|
||||||
CollectionActions.CONFIRM_LEAVE_SHARED_ALBUM,
|
CollectionActions.CONFIRM_LEAVE_SHARED_ALBUM,
|
||||||
false
|
false
|
||||||
)}>
|
)}>
|
||||||
{constants.LEAVE}
|
{constants.LEAVE_ALBUM}
|
||||||
</OverflowMenuOption>
|
</OverflowMenuOption>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -612,7 +612,8 @@ const englishConstants = {
|
||||||
EMPTY_TRASH_MESSAGE:
|
EMPTY_TRASH_MESSAGE:
|
||||||
'These files will be permanently deleted from your ente account.',
|
'These files will be permanently deleted from your ente account.',
|
||||||
LEAVE_SHARED_ALBUM: 'Yes, leave',
|
LEAVE_SHARED_ALBUM: 'Yes, leave',
|
||||||
LEAVE_SHARED_ALBUM_TITLE: 'Leave shared Album?',
|
LEAVE_ALBUM: 'Leave album',
|
||||||
|
LEAVE_SHARED_ALBUM_TITLE: 'Leave shared album?',
|
||||||
LEAVE_SHARED_ALBUM_FAILED: 'failed to leave the album, please try again',
|
LEAVE_SHARED_ALBUM_FAILED: 'failed to leave the album, please try again',
|
||||||
LEAVE_SHARED_ALBUM_MESSAGE:
|
LEAVE_SHARED_ALBUM_MESSAGE:
|
||||||
'You will leave the album, and it will stop being visible to you.',
|
'You will leave the album, and it will stop being visible to you.',
|
||||||
|
|
Loading…
Reference in a new issue