Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
#154 prevent user from adding channels
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwunderbar666 committed Jul 13, 2022
1 parent 3668573 commit 2cee398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaskinventory/templates/helpers/_tomselect.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@

{% if 'channels' in fields %}

new TomSelect('#channels', {create: true, plugins: ['remove_button']})
new TomSelect('#channels', {create: false, plugins: ['remove_button']})

{% endif %}

Expand Down

0 comments on commit 2cee398

Please sign in to comment.