mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 00:09:41 +00:00
Fixed errors caused by poor git-fu.
Forgot I was on a detached head, made a commit, and failed hard at cherry-picking the commit back to the correct branch.
This commit is contained in:
parent
c2e2122efd
commit
e35c753bdc
2 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ habitrpg.controller("FiltersCtrl", ['$scope', '$rootScope', 'User', 'Shared',
|
|||
function($scope, $rootScope, User, Shared) {
|
||||
var user = User.user;
|
||||
$scope._editing = false;
|
||||
$scope._newTag = {name:''};
|
||||
|
||||
var tagsSnap; // used to compare which tags need updating
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
//- Add new tag
|
||||
li.filters-edit(ng-show='_editing')
|
||||
form.hrpg-input-group
|
||||
input(type='text', ng-model='_newTag', placeholder=env.t('newTag'))
|
||||
input(type='text', ng-model='_newTag.name', placeholder=env.t('newTag'))
|
||||
button(ng-click='createTag()')=env.t('add')
|
||||
div(ng-if='!areTagsHidden || _editing')
|
||||
ul(ng-if='_editing')
|
||||
|
|
|
|||
Loading…
Reference in a new issue