mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 08:32:23 +01:00
fix: open moderation panel when coming from moderation email
This commit is contained in:
parent
bb371b55f5
commit
e0765dcf2b
2 changed files with 3 additions and 3 deletions
|
@ -151,7 +151,7 @@ export default {
|
|||
error({ statusCode: 404, message: 'Event not found' })
|
||||
}
|
||||
},
|
||||
data ({$store}) {
|
||||
data ({$route}) {
|
||||
return {
|
||||
mdiArrowLeft, mdiArrowRight, mdiDotsVertical, mdiCodeTags, mdiCalendarExport, mdiCalendar, mdiFileDownloadOutline, mdiMessageTextOutline,
|
||||
mdiMapMarker, mdiContentCopy, mdiClose, mdiDelete, mdiEye, mdiEyeOff, mdiRepeat, mdiMap, mdiChevronUp, mdiMonitorAccount, mdiBookmark, mdiStar, mdiShareAll,
|
||||
|
@ -159,7 +159,7 @@ export default {
|
|||
event: {},
|
||||
showEmbed: false,
|
||||
mapModal: false,
|
||||
openModeration: false,
|
||||
openModeration: $route?.query?.moderation ? true : false,
|
||||
reporting: false
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
extends ../layout.pug
|
||||
block content
|
||||
p !{t(`report.content_${author}`, {config, event, message, url: `${config.baseurl}/event/${event.slug || event.id}`})}
|
||||
p !{t(`report.content_${author}`, {config, event, message, url: `${config.baseurl}/event/${event.slug || event.id}?moderation=true`})}
|
||||
|
|
Loading…
Reference in a new issue