mirror of https://github.com/bra1n/townsquare.git
removing code to display global reminders for out of script travelers as the travelers should not have global reminders anyway.
This commit is contained in:
parent
3fc1c3c1a5
commit
468e45475a
|
@ -95,16 +95,6 @@ export default {
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
if (role.remindersGlobal && role.remindersGlobal.length) {
|
|
||||||
reminders = [
|
|
||||||
...reminders,
|
|
||||||
...role.remindersGlobal.map(name => ({
|
|
||||||
role: role.id,
|
|
||||||
image: role.image,
|
|
||||||
name
|
|
||||||
}))
|
|
||||||
];
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
reminders.push({ role: "good", name: "Good" });
|
reminders.push({ role: "good", name: "Good" });
|
||||||
|
|
Loading…
Reference in New Issue