File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import {
3434 Assignment ,
3535 NotificationImportant ,
3636 Construction ,
37+ Schedule ,
3738} from "@mui/icons-material" ;
3839import standards from "/src/data/standards.json" ;
3940import { CippApiDialog } from "../../../components/CippComponents/CippApiDialog" ;
@@ -909,12 +910,16 @@ const Page = () => {
909910
910911 const compliancePercentage =
911912 allCount > 0
912- ? Math . round ( ( compliantCount / ( allCount - reportingDisabledCount - overriddenCount || 1 ) ) * 100 )
913+ ? Math . round (
914+ ( compliantCount / ( allCount - reportingDisabledCount - overriddenCount || 1 ) ) * 100
915+ )
913916 : 0 ;
914917
915918 const missingLicensePercentage =
916919 allCount > 0
917- ? Math . round ( ( missingLicenseCount / ( allCount - reportingDisabledCount - overriddenCount || 1 ) ) * 100 )
920+ ? Math . round (
921+ ( missingLicenseCount / ( allCount - reportingDisabledCount - overriddenCount || 1 ) ) * 100
922+ )
918923 : 0 ;
919924
920925 // Combined score: compliance percentage + missing license percentage
@@ -1173,6 +1178,19 @@ const Page = () => {
11731178 </ Stack >
11741179 { selectedTemplate && (
11751180 < Stack direction = "row" spacing = { 1 } sx = { { mt : 2 , displayPrint : "none" } } >
1181+ { selectedTemplate ?. runManually && (
1182+ < Chip
1183+ label = "Run Manually"
1184+ size = "small"
1185+ color = "warning"
1186+ variant = "outlined"
1187+ icon = {
1188+ < SvgIcon fontSize = "small" >
1189+ < Schedule />
1190+ </ SvgIcon >
1191+ }
1192+ />
1193+ ) }
11761194 < Chip
11771195 icon = {
11781196 < SvgIcon fontSize = "small" >
You can’t perform that action at this time.
0 commit comments