diff --git a/app/admin-annotations.cds b/app/admin-annotations.cds index 7d56b845a..caf86fb23 100644 --- a/app/admin-annotations.cds +++ b/app/admin-annotations.cds @@ -4132,13 +4132,13 @@ annotate AdminService.FeatureFlags with @UI: { { Value: status }, { Value: issue }, // #2060 — row-button toggles for kind:'db' flags (non-db flags reject 400). - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/enable', Label: 'Enable' }, - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/disable', Label: 'Disable' } + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.enable', Label: 'Enable' }, + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.disable', Label: 'Disable' } ], // Object Page header actions — same enable/disable on the detail view (#2060). Identification: [ - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/enable', Label: 'Enable' }, - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/disable', Label: 'Disable' } + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.enable', Label: 'Enable' }, + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.disable', Label: 'Disable' } ], Facets: [ { $Type: 'UI.ReferenceFacet', ID: 'General', Label: 'General', Target: '@UI.FieldGroup#General' },