-
{row.original.label}
-
#{row.original.id}
+
+
emit('edit', row.original)} class="block text-sm truncate font-medium text-foreground cursor-pointer hover:underline">
+ {row.original.label}
+
+
#{row.original.id}
),
meta: { headerClass: 'px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-foreground/50', cellClass: 'px-6 py-3' },
@@ -81,14 +83,13 @@ export default defineComponent({
{
id: 'maxTriggersPerSession',
header: t('settings.popupAds.table.maxTriggersPerSession'),
- accessorFn: (row) => row.maxTriggersPerSession || 0,
- cell: ({ row }) =>
{row.original.type === 'url' ? row.original.maxTriggersPerSession || 0 : '—'},
+ accessorFn: (row) => row?.type === 'url' ? row.maxTriggersPerSession || 0 : '—',
+ cell: ({ getValue }) =>
{getValue()},
meta: { headerClass: 'px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-foreground/50', cellClass: 'px-6 py-3 text-foreground/70' },
},
{
id: 'status',
header: t('common.status'),
- accessorFn: (row) => Number(Boolean(row.isActive)),
cell: ({ row }) => (
(
-
emit('edit', row.original)} v-slots={{ icon: () => }} />
emit('delete', row.original)} v-slots={{ icon: () => }} />
),
@@ -125,13 +125,7 @@ export default defineComponent({
headerRowClass="bg-muted/30"
bodyRowClass="border-b border-border hover:bg-muted/30"
pagination
- currentPage={props.currentPage}
- totalPages={props.totalPages}
- totalRecords={props.totalRecords}
- rowsPerPage={props.rowsPerPage}
- pageSizeOptions={props.pageSizeOptions}
- canPreviousPage={props.canPreviousPage}
- canNextPage={props.canNextPage}
+ {...props}
onPrevious-page={() => emit('previous-page')}
onNext-page={() => emit('next-page')}
onPage-size-change={(value: number) => emit('page-size-change', value)}
diff --git a/src/routes/settings/SecurityNConnected/components/SecurityAccountStatusRow.vue b/src/routes/settings/SecurityNConnected/components/SecurityAccountStatusRow.vue
index fbd807a..ffce051 100644
--- a/src/routes/settings/SecurityNConnected/components/SecurityAccountStatusRow.vue
+++ b/src/routes/settings/SecurityNConnected/components/SecurityAccountStatusRow.vue
@@ -9,7 +9,7 @@ const { t } = useTranslation();
diff --git a/src/routes/settings/SecurityNConnected/components/SecurityChangePasswordRow.vue b/src/routes/settings/SecurityNConnected/components/SecurityChangePasswordRow.vue
index feecd94..9800593 100644
--- a/src/routes/settings/SecurityNConnected/components/SecurityChangePasswordRow.vue
+++ b/src/routes/settings/SecurityNConnected/components/SecurityChangePasswordRow.vue
@@ -14,7 +14,7 @@ const { t } = useTranslation();
diff --git a/src/routes/settings/SecurityNConnected/components/SecurityEmailRow.vue b/src/routes/settings/SecurityNConnected/components/SecurityEmailRow.vue
index 639fc4d..c755af8 100644
--- a/src/routes/settings/SecurityNConnected/components/SecurityEmailRow.vue
+++ b/src/routes/settings/SecurityNConnected/components/SecurityEmailRow.vue
@@ -14,7 +14,7 @@ const { t } = useTranslation();
diff --git a/src/routes/settings/SecurityNConnected/components/SecurityLanguageRow.vue b/src/routes/settings/SecurityNConnected/components/SecurityLanguageRow.vue
index 0fddd50..421a3c3 100644
--- a/src/routes/settings/SecurityNConnected/components/SecurityLanguageRow.vue
+++ b/src/routes/settings/SecurityNConnected/components/SecurityLanguageRow.vue
@@ -27,7 +27,7 @@ const updateSelectedLanguage = (event: Event) => {
:title="t('settings.securityConnected.language.label')"
:description="t('settings.securityConnected.language.detail')"
actionsClass="flex items-center gap-2"
- iconBoxClass="bg-primary/10"
+ iconBoxClass="bg-primary/10 text-primary"
>
diff --git a/uno.config.ts b/uno.config.ts
index 32fbce2..135f101 100644
--- a/uno.config.ts
+++ b/uno.config.ts
@@ -242,10 +242,10 @@ export default defineConfig({
--capra-ramp-3: #ff530f;
--capra-ramp-4: #e62c6d;
--capra-ramp-5: #b25aff;
- --fill1: color-mix(in srgb, var(--colors-primary-DEFAULT) 40%, transparent);
- --fill2: color-mix(in srgb, var(--colors-primary-DEFAULT) 60%, transparent);
- --fill3: color-mix(in srgb, var(--colors-primary-DEFAULT) 80%, transparent);
- --fill4: var(--colors-primary-DEFAULT);
+ --fill1: color-mix(in srgb, currentColor 40%, transparent);
+ --fill2: color-mix(in srgb, currentColor 60%, transparent);
+ --fill3: color-mix(in srgb, currentColor 80%, transparent);
+ --fill4: currentColor;
}
:focus {
outline-color: ${context.theme.colors?.primary?.active};