mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update ComposeModal.vue component
This commit is contained in:
parent
2ddc4c3003
commit
ba0250a47c
1 changed files with 6 additions and 2 deletions
|
@ -14,9 +14,9 @@
|
||||||
<span class="fas fa-ellipsis-v fa-lg text-muted"></span>
|
<span class="fas fa-ellipsis-v fa-lg text-muted"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
||||||
<div v-show="media.length > 0" class="dropdown-item small font-weight-bold" v-on:click="mediaDrawer = !mediaDrawer">{{mediaDrawer ? 'Hide' : 'Show'}} Media Toolbar</div>
|
<div class="dropdown-item small font-weight-bold" v-on:click="createCollection">Create Collection</div>
|
||||||
<div class="dropdown-item small font-weight-bold" v-on:click="about">About</div>
|
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
<div class="dropdown-item small font-weight-bold" v-on:click="about">About</div>
|
||||||
<div class="dropdown-item small font-weight-bold" v-on:click="closeModal">Close</div>
|
<div class="dropdown-item small font-weight-bold" v-on:click="closeModal">Close</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -507,6 +507,10 @@ export default {
|
||||||
return video ?
|
return video ?
|
||||||
'Click here to add photos or videos' :
|
'Click here to add photos or videos' :
|
||||||
'Click here to add photos';
|
'Click here to add photos';
|
||||||
|
},
|
||||||
|
|
||||||
|
createCollection() {
|
||||||
|
window.location.href = '/i/collections/create';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue