Skip to content

Commit

Permalink
Merge pull request #4874 from nyaruka/agent-store-fix
Browse files Browse the repository at this point in the history
Remove globals from agent store
  • Loading branch information
rowanseymour authored Oct 3, 2023
2 parents 1ef8698 + 818ed56 commit c09cc1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
{% include "components-body.html" %}
{% endif %}
{% if user_org %}
<temba-store completion="/mr/docs/{{ LANGUAGE_CODE }}/editor.json"
<temba-store {% if org_perms.globals.global_list %}globals="/api/v2/globals.json"{% endif %}
completion="/mr/docs/{{ LANGUAGE_CODE }}/editor.json"
languages="/org/languages/"
fields="/api/v2/fields.json"
globals="/api/v2/globals.json"
groups="/api/v2/groups.json"
workspace="/api/v2/workspace.json"
users="/api/v2/users.json">
Expand Down

0 comments on commit c09cc1c

Please sign in to comment.