Browse Source

fix tag renaming not updating ui sidebar

master
dave 1 year ago
parent
commit
17441b5bd5
4 changed files with 1560 additions and 22 deletions
  1. +5
    -11
      .dockerignore
  2. +4
    -10
      .gitignore
  3. +1549
    -0
      package-lock.json
  4. +2
    -1
      photoapp/daemon.py

+ 5
- 11
.dockerignore View File

@@ -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

+ 4
- 10
.gitignore View File

@@ -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
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 2
- 1
photoapp/daemon.py View File

@@ -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…
Cancel
Save