stories: disable text story download until we can download them
This commit is contained in:
parent
5f3c9a653d
commit
02a76edfb1
1 changed files with 11 additions and 15 deletions
|
@ -120,14 +120,17 @@ export const MyStories = ({
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
<button
|
||||
aria-label={i18n('MyStories__download')}
|
||||
className="MyStories__story__download"
|
||||
onClick={() => {
|
||||
onSave(story);
|
||||
}}
|
||||
type="button"
|
||||
/>
|
||||
{story.attachment &&
|
||||
(story.attachment.path || story.attachment.data) && (
|
||||
<button
|
||||
aria-label={i18n('MyStories__download')}
|
||||
className="MyStories__story__download"
|
||||
onClick={() => {
|
||||
onSave(story);
|
||||
}}
|
||||
type="button"
|
||||
/>
|
||||
)}
|
||||
<ContextMenu
|
||||
i18n={i18n}
|
||||
menuOptions={[
|
||||
|
@ -138,13 +141,6 @@ export const MyStories = ({
|
|||
onForward(story.messageId);
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'MyStories__icon--save',
|
||||
label: i18n('save'),
|
||||
onClick: () => {
|
||||
onSave(story);
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'StoryListItem__icon--info',
|
||||
label: i18n('StoryListItem__info'),
|
||||
|
|
Loading…
Add table
Reference in a new issue