mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(app): enforce using of props in r2a [EE-3215] (#6943)
This commit is contained in:
parent
01dc9066b7
commit
dc98850489
7 changed files with 20 additions and 20 deletions
|
@ -3,7 +3,6 @@ import clsx from 'clsx';
|
|||
import { isLimitedToBE } from '@/portainer/feature-flags/feature-flags.service';
|
||||
import { BEFeatureIndicator } from '@/portainer/components/BEFeatureIndicator';
|
||||
import { FeatureId } from '@/portainer/feature-flags/enums';
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
|
||||
import './Switch.css';
|
||||
|
||||
|
@ -55,14 +54,3 @@ export function Switch({
|
|||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export const SwitchAngular = r2a(Switch, [
|
||||
'name',
|
||||
'checked',
|
||||
'id',
|
||||
'disabled',
|
||||
'dataCy',
|
||||
'onChange',
|
||||
'feature',
|
||||
'className',
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue