Merge pull request #119 from eReuse/bugfix/erasePrice

remove EreusePrice of public info of devices
This commit is contained in:
cayop 2021-02-12 10:43:53 +01:00 committed by GitHub
commit 19e448aedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class Device(Thing):
"""Actions than we want show in public page as traceability log section """Actions than we want show in public page as traceability log section
:return a list of actions: :return a list of actions:
""" """
hide_actions = ['Price'] hide_actions = ['Price', 'EreusePrice']
actions = [ac for ac in self.actions if not ac.t in hide_actions] actions = [ac for ac in self.actions if not ac.t in hide_actions]
actions.reverse() actions.reverse()
return actions return actions