Fix path to detect when group is the tavern or the user's party and set paths appropriately (#10570)

* Fix path to detect when group is the tavern or the user's party and set path's appropriately

* Fix lint issues
This commit is contained in:
FergusonSean
2018-08-03 02:54:32 -07:00
committed by Matteo Pagliazzi
parent fcbc2acda7
commit 4493e1d98c
4 changed files with 19 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
.container
.row
.col-12
copy-as-todo-modal(:group-name='groupName', :group-id='groupId')
copy-as-todo-modal(:group-type='groupType', :group-name='groupName', :group-id='groupId')
report-flag-modal
div(v-for="(msg, index) in messages", v-if='chat && canViewFlag(msg)')
// @TODO: is there a different way to do these conditionals? This creates an infinite loop
@@ -87,7 +87,7 @@ import reportFlagModal from './reportFlagModal';
import chatCard from './chatCard';
export default {
props: ['chat', 'groupId', 'groupName', 'inbox'],
props: ['chat', 'groupType', 'groupId', 'groupName', 'inbox'],
components: {
copyAsTodoModal,
reportFlagModal,