mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Decouple the set of org types from their labels
In response to: [^1]. [^1]: https://github.com/alphagov/notifications-admin/pull/4196#discussion_r838383086
This commit is contained in:
@@ -519,7 +519,7 @@ class Service(JSONModel, SortByNameMixin):
|
||||
|
||||
@property
|
||||
def organisation_type_label(self):
|
||||
return dict(Organisation.TYPES).get(self.organisation_type)
|
||||
return Organisation.TYPE_LABELS.get(self.organisation_type)
|
||||
|
||||
@cached_property
|
||||
def inbound_number(self):
|
||||
|
||||
Reference in New Issue
Block a user