Skip to content

Commit

Permalink
UI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Jul 26, 2024
1 parent e69f33b commit c8aba86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/views/cipp/ExtensionSync.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,49 +19,49 @@ const ExtensionSync = () => {
const columns = [
{
name: 'Tenant',
selector: (row) => row['Tenant'],
selector: (row) => row?.Tenant,
sortable: true,
cell: cellGenericFormatter(),
exportSelector: 'Tenants',
},
{
name: 'Sync Type',
selector: (row) => row['SyncType'],
selector: (row) => row?.SyncType,
sortable: true,
cell: cellBadgeFormatter({ color: 'info' }),
exportSelector: 'SyncType',
},
{
name: 'Task',
selector: (row) => row['Name'],
selector: (row) => row?.Name,
sortable: true,
cell: cellGenericFormatter(),
exportSelector: 'Name',
},
{
name: 'Scheduled Time',
selector: (row) => row['ScheduledTime'],
selector: (row) => row?.ScheduledTime,
sortable: true,
cell: cellDateFormatter({ format: 'short' }),
exportSelector: 'ScheduledTime',
},
{
name: 'Last Run',
selector: (row) => row['ExecutedTime'],
selector: (row) => row?.ExecutedTime,
sortable: true,
cell: cellDateFormatter({ format: 'short' }),
exportSelector: 'ExecutedTime',
},
{
name: 'Repeats every',
selector: (row) => row['RepeatsEvery'],
selector: (row) => row?.RepeatsEvery,
sortable: true,
cell: (row) => CellTip(row['RepeatsEvery']),
exportSelector: 'RepeatsEvery',
},
{
name: 'Results',
selector: (row) => row['Results'],
selector: (row) => row?.Results,
sortable: true,
cell: cellGenericFormatter(),
exportSelector: 'Results',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function SettingsWebhookSubscriptions() {
selector: (row) => row['Status'],
exportSelector: 'Status',
sortable: true,
cell: cellBadgeFormatter(),
cell: cellBadgeFormatter({ color: 'info' }),
},
{
name: 'Last Update',
Expand Down

0 comments on commit c8aba86

Please sign in to comment.