kopia lustrzana https://github.com/nextcloud/social
Adds a div to the Composer to show post attachments.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/657/head
rodzic
a3c441652a
commit
36fb838476
|
@ -79,6 +79,12 @@
|
||||||
</div>
|
</div>
|
||||||
</emoji-picker>
|
</emoji-picker>
|
||||||
|
|
||||||
|
<masonry>
|
||||||
|
<div v-for="(item, index) in postAttachments" :key="index">
|
||||||
|
<img src="">
|
||||||
|
</div>
|
||||||
|
</masonry>
|
||||||
|
|
||||||
<div class="options">
|
<div class="options">
|
||||||
<input :value="currentVisibilityPostLabel" :disabled="post.length < 1" class="submit primary"
|
<input :value="currentVisibilityPostLabel" :disabled="post.length < 1" class="submit primary"
|
||||||
type="submit" title="" data-original-title="Post">
|
type="submit" title="" data-original-title="Post">
|
||||||
|
@ -359,6 +365,7 @@ export default {
|
||||||
type: localStorage.getItem('social.lastPostType') || 'followers',
|
type: localStorage.getItem('social.lastPostType') || 'followers',
|
||||||
loading: false,
|
loading: false,
|
||||||
post: '',
|
post: '',
|
||||||
|
postAttachments: [],
|
||||||
canType: true,
|
canType: true,
|
||||||
search: '',
|
search: '',
|
||||||
replyTo: null,
|
replyTo: null,
|
||||||
|
|
Ładowanie…
Reference in New Issue