mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 17:23:31 +00:00
feat(notift): CSS classes
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@ const app = Vue.createApp({
|
||||
if (data?.action !== "notify") return;
|
||||
|
||||
const { text, length, type, caption } = data;
|
||||
const { color, icon } = determineStyleFromVariant(type);
|
||||
const { classes, icon } = determineStyleFromVariant(type);
|
||||
|
||||
// Make sure we have sucessfully fetched out config properly
|
||||
if (!NOTIFY_CONFIG) {
|
||||
@@ -44,7 +44,7 @@ const app = Vue.createApp({
|
||||
position: NOTIFY_CONFIG.NotificationStyling.position ?? "right",
|
||||
timeout: length,
|
||||
caption,
|
||||
color,
|
||||
classes,
|
||||
icon,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user