Skip to content

Commit

Permalink
Merge branch 'KelvinTegelaar:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
AJorink committed Jan 15, 2024
2 parents 26be729 + f6bf6be commit fbdc099
Show file tree
Hide file tree
Showing 48 changed files with 2,417 additions and 982 deletions.
Binary file added public/img/NinjaOne® Logo white@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
194 changes: 0 additions & 194 deletions public/img/data-report.svg

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added public/img/ninjaone_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added public/img/rewst_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/version_latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.8.0
4.9.1
13 changes: 9 additions & 4 deletions src/_nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ const _nav = [
},
{
component: CNavItem,
name: 'Alerts Wizard',
to: '/tenant/administration/alertswizard',
name: 'Alerts (Classic)',
to: '/tenant/administration/alertsqueue',
},
{
component: CNavItem,
name: 'Alerts Configuration',
to: '/tenant/administration/alertsqueue',
name: 'Alert Rules',
to: '/tenant/administration/AlertRules',
},
{
component: CNavItem,
Expand All @@ -142,6 +142,11 @@ const _nav = [
name: 'App Consent Requests',
to: '/tenant/administration/app-consent-requests',
},
{
component: CNavItem,
name: 'Tenant Onboarding',
to: '/tenant/administration/tenant-onboarding-wizard',
},
{
component: CNavItem,
name: 'Tenant Offboarding',
Expand Down
8 changes: 8 additions & 0 deletions src/adminRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const appapproval = React.lazy(() => import('src/views/cipp/AppApproval'))
const TenantOffboardingWizard = React.lazy(() =>
import('src/views/tenant/administration/TenantOffboardingWizard'),
)
const TenantOnboardingWizard = React.lazy(() =>
import('src/views/tenant/administration/TenantOnboardingWizard'),
)

const adminRoutes = [
{ path: '/cipp', name: 'CIPP' },
Expand Down Expand Up @@ -46,6 +49,11 @@ const adminRoutes = [
name: 'Tenant Offboarding',
component: TenantOffboardingWizard,
},
{
path: '/tenant/administration/tenant-onboarding-wizard',
name: 'Tenant Onboarding',
component: TenantOnboardingWizard,
},
]

export default adminRoutes
Binary file modified src/assets/images/CIPP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion src/components/buttons/TableModalButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ import { CButton } from '@coreui/react'
import { ModalService } from '../utilities'
import { cellGenericFormatter } from '../tables/CellGenericFormat'
import PropTypes from 'prop-types'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

export default function TableModalButton({ data, title, className, countOnly = false, ...input }) {
export default function TableModalButton({
data,
title,
className,
countOnly = false,
icon = '',
...input
}) {
const handleTable = (data) => {
const QueryColumns = []
const columns = Object.keys(data[0]).map((key) => {
Expand All @@ -31,6 +39,7 @@ export default function TableModalButton({ data, title, className, countOnly = f

return (
<CButton {...input} className={buttonClass} onClick={() => handleTable(data)}>
{icon != '' && <FontAwesomeIcon icon={icon} className="me-2" />}
<>{countOnly === true ? data.length : `${title} (${data.length})`}</>
</CButton>
)
Expand Down
Loading

0 comments on commit fbdc099

Please sign in to comment.