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,
|
faBars,
|
||||||
faFolderTree,
|
faFolderTree,
|
||||||
faList,
|
faList,
|
||||||
faMessage,
|
|
||||||
faWrench,
|
faWrench,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faList, faFolderTree, faBars, faWrench, faMessage)
|
library.add(faList, faFolderTree, faBars, faWrench)
|
||||||
|
|
||||||
const QuickViewSettings = {
|
const QuickViewSettings = {
|
||||||
props: {
|
props: {
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,10 @@ import {
|
||||||
faShareAlt,
|
faShareAlt,
|
||||||
faStar,
|
faStar,
|
||||||
faThumbtack,
|
faThumbtack,
|
||||||
|
faPencil,
|
||||||
faTimes,
|
faTimes,
|
||||||
faWrench,
|
faWrench,
|
||||||
|
faComments,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
|
|
@ -53,7 +55,9 @@ library.add(
|
||||||
faEyeSlash,
|
faEyeSlash,
|
||||||
faEye,
|
faEye,
|
||||||
faThumbtack,
|
faThumbtack,
|
||||||
|
faPencil,
|
||||||
faShareAlt,
|
faShareAlt,
|
||||||
|
faComments,
|
||||||
faExternalLinkAlt,
|
faExternalLinkAlt,
|
||||||
faHistory,
|
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
|
// DELETE
|
||||||
|
|
|
||||||
|
|
@ -1647,6 +1647,7 @@
|
||||||
"delete_error": "Error deleting status: {0}",
|
"delete_error": "Error deleting status: {0}",
|
||||||
"edit": "Edit status",
|
"edit": "Edit status",
|
||||||
"edited_at": "(last edited {time})",
|
"edited_at": "(last edited {time})",
|
||||||
|
"open_in_chat_view": "Open in chat view",
|
||||||
"pin": "Pin on profile",
|
"pin": "Pin on profile",
|
||||||
"unpin": "Unpin from profile",
|
"unpin": "Unpin from profile",
|
||||||
"pinned": "Pinned",
|
"pinned": "Pinned",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue