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>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<button
|
{story.attachment &&
|
||||||
aria-label={i18n('MyStories__download')}
|
(story.attachment.path || story.attachment.data) && (
|
||||||
className="MyStories__story__download"
|
<button
|
||||||
onClick={() => {
|
aria-label={i18n('MyStories__download')}
|
||||||
onSave(story);
|
className="MyStories__story__download"
|
||||||
}}
|
onClick={() => {
|
||||||
type="button"
|
onSave(story);
|
||||||
/>
|
}}
|
||||||
|
type="button"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<ContextMenu
|
<ContextMenu
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
menuOptions={[
|
menuOptions={[
|
||||||
|
@ -138,13 +141,6 @@ export const MyStories = ({
|
||||||
onForward(story.messageId);
|
onForward(story.messageId);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
icon: 'MyStories__icon--save',
|
|
||||||
label: i18n('save'),
|
|
||||||
onClick: () => {
|
|
||||||
onSave(story);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
icon: 'StoryListItem__icon--info',
|
icon: 'StoryListItem__icon--info',
|
||||||
label: i18n('StoryListItem__info'),
|
label: i18n('StoryListItem__info'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue