Ui fixes #16

Merged
dredgy merged 9 commits from ui-fixes into main 2026-08-21 22:54:14 +10:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit c0b8d10add - Show all commits
@@ -98,7 +98,8 @@ class AchievementService
->where('achievement_id', $achievement->id) ->where('achievement_id', $achievement->id)
->first(); ->first();
$alreadyUnlocked = $existing !== null; $alreadyUnlocked = $existing !== null
&& (! $achievement->progressive || $existing->progress >= $achievement->threshold);
UserAchievement::updateOrCreate( UserAchievement::updateOrCreate(
['user_id' => $user->id, 'achievement_id' => $achievement->id], ['user_id' => $user->id, 'achievement_id' => $achievement->id],
+1 -1
View File
@@ -67,7 +67,7 @@ return Application::configure(basePath: dirname(__DIR__))
'message' => 'You don\'t have permission to access this page.', 'message' => 'You don\'t have permission to access this page.',
], ],
404 => [ 404 => [
'title' => 'You Flight Has Been Cancelled', 'title' => 'Your Flight Has Been Cancelled',
'message' => 'The page you are looking for doesn\'t exist or has been moved.', 'message' => 'The page you are looking for doesn\'t exist or has been moved.',
], ],
419 => [ 419 => [