Fixed level page
This commit is contained in:
parent
07fc512633
commit
7185b087c9
@ -9,10 +9,7 @@ class LevelQuery(DataQueryWithHistoryABC):
|
||||
DataQueryWithHistoryABC.__init__(self, "Level", "LevelsHistory", LevelHistory, db)
|
||||
|
||||
self.set_field("id", lambda x, *_: x.id)
|
||||
self.set_field(
|
||||
"iconURL",
|
||||
lambda x, *_: "https://cdn.discordapp.com/emojis/1170348708894875659.webp?size=32&quality=lossless",
|
||||
)
|
||||
self.set_field("iconURL", lambda x, *_: x.icon_url)
|
||||
self.set_field("name", lambda x, *_: x.name)
|
||||
self.set_field("color", lambda x, *_: x.color)
|
||||
self.set_field("minXp", lambda x, *_: x.min_xp)
|
||||
|
@ -45,10 +45,9 @@
|
||||
</div>
|
||||
</th>
|
||||
|
||||
<th hideable-th="icon" [parent]="this" [sortable]="true">
|
||||
<th hideable-th="icon" [parent]="this">
|
||||
<div class="table-header-label">
|
||||
<div class="table-header-text">{{'common.icon' | translate}}</div>
|
||||
<p-sortIcon field="id" class="table-header-icon"></p-sortIcon>
|
||||
</div>
|
||||
</th>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user