master #475

Closed
edraft wants to merge 60 commits from master into dev
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>