WIP(chat): first pass deprecation

This commit is contained in:
SabreCat
2023-05-17 16:33:44 -05:00
parent d176c31382
commit 8d9602fb16
11 changed files with 13 additions and 189 deletions

View File

@@ -50,7 +50,6 @@ import notificationsMixin from '@/mixins/notifications';
import Task from '@/components/tasks/task';
import taskDefaults from '@/../../common/script/libs/taskDefaults';
import { TAVERN_ID } from '@/../../common/script/constants';
const baseUrl = 'https://habitica.com';
@@ -89,9 +88,7 @@ export default {
createTask: 'tasks:create',
}),
groupPath () {
if (this.groupId === TAVERN_ID) {
return `${baseUrl}/groups/tavern`;
} if (this.groupType === 'party') {
if (this.groupType === 'party') {
return `${baseUrl}/party`;
}
return `${baseUrl}/groups/guild/${this.groupId}`;