1.1.0 #352

Merged
edraft merged 145 commits from 1.1.0 into master 2023-08-24 17:50:25 +02:00
4 changed files with 4 additions and 1 deletions
Showing only changes of commit 296c6e8044 - Show all commits

View File

@ -53,6 +53,7 @@ class AchievementOnMessageEvent(OnMessageABC):
user = self._users.get_user_by_discord_id_and_server_id(message.author.id, server.id)
user.message_count += 1
self._users.update_user(user)
self._db.save_changes()
await self._achievements.validate_achievements_for_user(user)

View File

@ -57,5 +57,6 @@ class AchievementOnReactionAddEvent(OnReactionAddABC):
user.reaction_count += 1
self._db.save_changes()
self._users.update_user(user)
await self._achievements.validate_achievements_for_user(user)

View File

@ -57,5 +57,6 @@ class AchievementOnReactionRemoveEvent(OnReactionRemoveABC):
user.reaction_count -= 1
self._db.save_changes()
self._users.update_user(user)
await self._achievements.validate_achievements_for_user(user)

View File

@ -69,7 +69,7 @@ export class SidebarService {
async buildMenu(user: UserDTO | null, hasPermission: boolean, isTechnician: boolean = false) {
this.dashboard = {
label: this.translateService.instant("sidebar.dashboard"),
label: this.isSidebarOpen ? this.translateService.instant("sidebar.dashboard") : "",
icon: "pi pi-th-large",
routerLink: "dashboard"
};