staging_1.2.6 #467

Merged
edraft merged 16 commits from staging_1.2.6 into staging 2024-01-26 12:18:06 +01:00
2 changed files with 2 additions and 6 deletions
Showing only changes of commit 7185b087c9 - Show all commits

View File

@ -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)

View File

@ -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>