mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
* Update title for tabs not including challenges, guild and team * add section titles to challenges, guilds, and groups * Update dynamic title to use vuex action * Remove duplicate key * Actually remove duplicate key * Fix section sub section in group * Add note to implement setTitle when adding a page * Add missing sections to dynamic title * Features string not translated * Use onGroupUpdate to update group titles * Add watcher to challenges for dynamic title updates * Small fixes * Add register and login to title, remove duplicate keys * Add home page dynamic title functionality * Minor name changes * Fix tag filtering on deletion * Remove debuggers Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
This commit is contained in:
parent
174ac6d7e3
commit
983aae7f87
2 changed files with 9 additions and 1 deletions
|
|
@ -520,7 +520,13 @@ export default {
|
|||
removeTag (index, key) {
|
||||
const tagId = this.tagsSnap[key][index].id;
|
||||
const indexInSelected = this.selectedTags.indexOf(tagId);
|
||||
if (indexInSelected !== -1) this.$delete(this.selectedTags, indexInSelected);
|
||||
const indexInTempSelected = this.temporarilySelectedTags.indexOf(tagId);
|
||||
if (indexInSelected !== -1) {
|
||||
this.$delete(this.selectedTags, indexInSelected);
|
||||
}
|
||||
if (indexInTempSelected !== -1) {
|
||||
this.$delete(this.temporarilySelectedTags, indexInTempSelected);
|
||||
}
|
||||
this.$delete(this.tagsSnap[key], index);
|
||||
},
|
||||
saveTags () {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ import handleRedirect from './handleRedirect';
|
|||
|
||||
import ParentPage from '@/components/parentPage';
|
||||
|
||||
// NOTE: when adding a page make sure to implement setTitle
|
||||
|
||||
// Static Pages
|
||||
const StaticWrapper = () => import(/* webpackChunkName: "entry" */'@/components/static/staticWrapper');
|
||||
const HomePage = () => import(/* webpackChunkName: "entry" */'@/components/static/home');
|
||||
|
|
|
|||
Loading…
Reference in a new issue