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
oitjack authored Jan 30, 2024
2 parents eda795a + be0ef04 commit 6270a1a
Show file tree
Hide file tree
Showing 59 changed files with 7,025 additions and 3,494 deletions.
6,379 changes: 3,952 additions & 2,427 deletions package-lock.json

Large diffs are not rendered by default.

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
5.0.1
18 changes: 14 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 Expand Up @@ -234,6 +239,11 @@ const _nav = [
name: 'Deploy CA Policies',
to: '/tenant/conditional/deploy',
},
{
component: CNavItem,
name: 'CA Vacation Mode',
to: '/tenant/conditional/deploy-vacation',
},
{
component: CNavItem,
name: 'CA Templates',
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 6270a1a

Please sign in to comment.