a way to open thread in chat view
This commit is contained in:
parent
c6ac897802
commit
85ec3b9c92
4 changed files with 17 additions and 2 deletions
|
|
@ -12,11 +12,10 @@ import {
|
|||
faBars,
|
||||
faFolderTree,
|
||||
faList,
|
||||
faMessage,
|
||||
faWrench,
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(faList, faFolderTree, faBars, faWrench, faMessage)
|
||||
library.add(faList, faFolderTree, faBars, faWrench)
|
||||
|
||||
const QuickViewSettings = {
|
||||
props: {
|
||||
|
|
|
|||
|
|
@ -28,8 +28,10 @@ import {
|
|||
faShareAlt,
|
||||
faStar,
|
||||
faThumbtack,
|
||||
faPencil,
|
||||
faTimes,
|
||||
faWrench,
|
||||
faComments,
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
|
|
@ -53,7 +55,9 @@ library.add(
|
|||
faEyeSlash,
|
||||
faEye,
|
||||
faThumbtack,
|
||||
faPencil,
|
||||
faShareAlt,
|
||||
faComments,
|
||||
faExternalLinkAlt,
|
||||
faHistory,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -218,6 +218,17 @@ export const BUTTONS = [
|
|||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
// =========
|
||||
// OPEN IN CHAT VIEW
|
||||
// =========
|
||||
name: 'edit',
|
||||
icon: 'comments',
|
||||
label: 'status.open_in_chat_view',
|
||||
action({ router, status }) {
|
||||
router.push({ name: 'conversation2', params: { statusId: status.id } })
|
||||
},
|
||||
},
|
||||
{
|
||||
// =========
|
||||
// DELETE
|
||||
|
|
|
|||
|
|
@ -1647,6 +1647,7 @@
|
|||
"delete_error": "Error deleting status: {0}",
|
||||
"edit": "Edit status",
|
||||
"edited_at": "(last edited {time})",
|
||||
"open_in_chat_view": "Open in chat view",
|
||||
"pin": "Pin on profile",
|
||||
"unpin": "Unpin from profile",
|
||||
"pinned": "Pinned",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue