how to display rangingbeacon.title in editor
This commit is contained in:
parent
f3e33a2f2c
commit
43ee0a07a4
1 changed files with 2 additions and 2 deletions
|
@ -536,5 +536,5 @@ class RangingBeacon(SpaceGeometryMixin, models.Model):
|
|||
@property
|
||||
def title(self):
|
||||
if self.comment:
|
||||
return f'{self.wifi_bssid} ({self.comment})'
|
||||
return self.wifi_bssid
|
||||
return f'{self.node_number} {self.wifi_bssid} ({self.comment})'.strip()
|
||||
return f'{self.node_number} {self.wifi_bssid}'.strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue