Fix noncomformity registries typo
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -132,10 +132,10 @@ export default function NonconformityRegistriesPage({ queryRef }: NonconformityR
|
||||
<Card padded>
|
||||
<div className="text-center py-12">
|
||||
<h3 className="text-lg font-semibold mb-2">
|
||||
{__("No non conformity registry entries yet")}
|
||||
{__("No nonconformity registry entries yet")}
|
||||
</h3>
|
||||
<p className="text-txt-tertiary mb-4">
|
||||
{__("Create your first non conformity registry entry to get started.")}
|
||||
{__("Create your first nonconformity registry entry to get started.")}
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
3
pkg/coredata/migrations/20250828T131554Z.sql
Normal file
3
pkg/coredata/migrations/20250828T131554Z.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER
|
||||
TYPE snapshots_type
|
||||
RENAME VALUE 'NON_CONFORMITY_REGISTRIES' TO 'NONCONFORMITY_REGISTRIES';
|
||||
@@ -28,7 +28,7 @@ const (
|
||||
SnapshotsTypeVendors SnapshotsType = "VENDORS"
|
||||
SnapshotsTypeAssets SnapshotsType = "ASSETS"
|
||||
SnapshotsTypeData SnapshotsType = "DATA"
|
||||
SnapshotsTypeNonConformityRegistries SnapshotsType = "NON_CONFORMITY_REGISTRIES"
|
||||
SnapshotsTypeNonConformityRegistries SnapshotsType = "NONCONFORMITY_REGISTRIES"
|
||||
SnapshotsTypeComplianceRegistries SnapshotsType = "COMPLIANCE_REGISTRIES"
|
||||
)
|
||||
|
||||
|
||||
@@ -868,7 +868,7 @@ enum SnapshotsType
|
||||
@goEnum(
|
||||
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeData"
|
||||
)
|
||||
NON_CONFORMITY_REGISTRIES
|
||||
NONCONFORMITY_REGISTRIES
|
||||
@goEnum(
|
||||
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeNonConformityRegistries"
|
||||
)
|
||||
|
||||
@@ -8743,7 +8743,7 @@ enum SnapshotsType
|
||||
@goEnum(
|
||||
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeData"
|
||||
)
|
||||
NON_CONFORMITY_REGISTRIES
|
||||
NONCONFORMITY_REGISTRIES
|
||||
@goEnum(
|
||||
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeNonConformityRegistries"
|
||||
)
|
||||
@@ -84478,19 +84478,19 @@ func (ec *executionContext) marshalNSnapshotsType2githubᚗcomᚋgetproboᚋprob
|
||||
|
||||
var (
|
||||
unmarshalNSnapshotsType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[string]coredata.SnapshotsType{
|
||||
"RISKS": coredata.SnapshotsTypeRisks,
|
||||
"VENDORS": coredata.SnapshotsTypeVendors,
|
||||
"ASSETS": coredata.SnapshotsTypeAssets,
|
||||
"DATA": coredata.SnapshotsTypeData,
|
||||
"NON_CONFORMITY_REGISTRIES": coredata.SnapshotsTypeNonConformityRegistries,
|
||||
"COMPLIANCE_REGISTRIES": coredata.SnapshotsTypeComplianceRegistries,
|
||||
"RISKS": coredata.SnapshotsTypeRisks,
|
||||
"VENDORS": coredata.SnapshotsTypeVendors,
|
||||
"ASSETS": coredata.SnapshotsTypeAssets,
|
||||
"DATA": coredata.SnapshotsTypeData,
|
||||
"NONCONFORMITY_REGISTRIES": coredata.SnapshotsTypeNonConformityRegistries,
|
||||
"COMPLIANCE_REGISTRIES": coredata.SnapshotsTypeComplianceRegistries,
|
||||
}
|
||||
marshalNSnapshotsType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[coredata.SnapshotsType]string{
|
||||
coredata.SnapshotsTypeRisks: "RISKS",
|
||||
coredata.SnapshotsTypeVendors: "VENDORS",
|
||||
coredata.SnapshotsTypeAssets: "ASSETS",
|
||||
coredata.SnapshotsTypeData: "DATA",
|
||||
coredata.SnapshotsTypeNonConformityRegistries: "NON_CONFORMITY_REGISTRIES",
|
||||
coredata.SnapshotsTypeNonConformityRegistries: "NONCONFORMITY_REGISTRIES",
|
||||
coredata.SnapshotsTypeComplianceRegistries: "COMPLIANCE_REGISTRIES",
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user