Notification toasts, nicer loading, add new user support

This commit is contained in:
Jamie Curnow committed 2025-10-02 08:11:14 +10:00
1 parent fadec9751e
commit 61a92906f3
31 files changed
+401 -215

No files matched your search

+3 -3
View File
@@ -123,16 +123,16 @@ export default () => {
},
/**
* @param [default_value]
* @param [defaultValue]
* @returns {Integer}
*/
getUserId: (default_value) => {
getUserId: (defaultValue) => {
const attrs = self.get("attrs");
if (attrs && typeof attrs.id !== "undefined" && attrs.id) {
return attrs.id;
}
return default_value || 0;
return defaultValue || 0;
},
};