fix tag renaming not updating ui sidebar
This commit is contained in:
parent
06dea40d24
commit
17441b5bd5
@ -1,17 +1,11 @@
|
||||
build/
|
||||
cache/
|
||||
dist/
|
||||
dropbox/
|
||||
library/
|
||||
.DS_Store
|
||||
.git
|
||||
node_modules/
|
||||
photoapp.egg-info/
|
||||
photos.db
|
||||
styles/css/
|
||||
styles/dist/
|
||||
styles/mincss/
|
||||
testenv/
|
||||
source/
|
||||
source_copy/
|
||||
raws/
|
||||
*.sql
|
||||
vidtest/
|
||||
test_data/
|
||||
photolib.sublime-project
|
||||
photolib.sublime-workspace
|
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,17 +1,11 @@
|
||||
.DS_Store
|
||||
__pycache__
|
||||
build/
|
||||
cache/
|
||||
dist/
|
||||
dropbox/
|
||||
library/
|
||||
node_modules/
|
||||
photoapp.egg-info/
|
||||
photos.db
|
||||
styles/css/
|
||||
styles/dist/
|
||||
styles/mincss/
|
||||
testenv/
|
||||
cache
|
||||
dropbox
|
||||
library
|
||||
tools/
|
||||
test_data/
|
||||
photolib.sublime-project
|
||||
photolib.sublime-workspace
|
1549
package-lock.json
generated
Normal file
1549
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -406,7 +406,8 @@ class TagView(object):
|
||||
for photo in db.query(PhotoSet).join(TagItem).join(Tag).filter(Tag.id == tag.id).all():
|
||||
photo.status = PhotoStatus.private
|
||||
elif op == "Save":
|
||||
tag.title = title
|
||||
tag.title = title.capitalize()
|
||||
tag.name = title
|
||||
tag.description = description
|
||||
tag.slug = slugify(title)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user