Merge remote-tracking branch 'origin/bugfixes' into develop

This commit is contained in:
Andrey Antukh 2021-04-13 14:14:03 +02:00
commit bfbc715977
14 changed files with 99 additions and 89 deletions

View file

@ -185,12 +185,12 @@
total (count frames)
locale (mf/deref i18n/locale)
profile (mf/deref refs/profile)
anonymous? (= uuid/zero (:id profile))
teams (mf/deref refs/teams)
team-id (get-in data [:project :team-id])
has-permission? (and (not anonymous?)
(contains? (:teams profile) team-id))
has-permission? (and (not= uuid/zero (:id profile))
(contains? teams team-id))
project-id (get-in data [:project :id])
file-id (get-in data [:file :id])