mirror of
https://github.com/mue/mue.git
synced 2026-07-15 21:13:54 +02:00
fix: stats, marketplace, deep links on preview
This commit is contained in:
@@ -4,6 +4,11 @@ import variables from 'config/variables';
|
||||
|
||||
export default class Stats {
|
||||
static async achievementTrigger(stats) {
|
||||
// Disable achievements in preview mode
|
||||
if (localStorage.getItem('showWelcome') === 'true') {
|
||||
return;
|
||||
}
|
||||
|
||||
const newAchievement = newAchievements(stats);
|
||||
newAchievement.forEach((achievement) => {
|
||||
if (achievement) {
|
||||
|
||||
Reference in New Issue
Block a user