Update text of button when unhiding a story
This commit is contained in:
parent
ea65b1390b
commit
b1a0b9a7a8
4 changed files with 26 additions and 15 deletions
|
@ -516,7 +516,9 @@ export function StoryViewer({
|
|||
onClick: () => setCurrentViewTarget(StoryViewTargetType.Details),
|
||||
},
|
||||
{
|
||||
icon: 'StoryListItem__icon--hide',
|
||||
icon: isHidden
|
||||
? 'StoryListItem__icon--unhide'
|
||||
: 'StoryListItem__icon--hide',
|
||||
label: isHidden
|
||||
? i18n('icu:StoryListItem__unhide')
|
||||
: i18n('icu:StoryListItem__hide'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue