Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#1970 from KelvinTegelaar/dev
Browse files Browse the repository at this point in the history
Dev to release
  • Loading branch information
KelvinTegelaar authored Jan 2, 2024
2 parents 2cf7b50 + f815810 commit 025dd34
Show file tree
Hide file tree
Showing 47 changed files with 2,404 additions and 969 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.0
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 025dd34

Please sign in to comment.