feat: add support for disabling the save button while the permissions are loading #5261
Annotations
9 errors and 1 warning
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/PermissionGroups/List/PermissionGroupRow.tsx#L131
Type '{ component: ButtonComponentType.link; icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; linkProps: { to: string; }; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.neutral; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/PermissionGroups/List/PermissionGroupRow.tsx#L142
Type '{ icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; onClick: () => void; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.negativeGrey; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/AppOrJobSelector.tsx#L114
Object literal may only specify known properties, and 'customDisplayText' does not exist in type '{ isGroupHeadingSelectable?: boolean; getIsOptionValid?: (option: SelectPickerOptionType<string | number>) => boolean; }'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/EnvironmentSelector.tsx#L60
Object literal may only specify known properties, and 'customDisplayText' does not exist in type '{ isGroupHeadingSelectable?: boolean; getIsOptionValid?: (option: SelectPickerOptionType<string>) => boolean; }'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/WorkflowSelector.tsx#L42
Object literal may only specify known properties, and 'customDisplayText' does not exist in type '{ isGroupHeadingSelectable?: boolean; getIsOptionValid?: (option: SelectPickerOptionType<string | number>) => boolean; }'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/UserPermissions/AddEdit/UserForm.tsx#L335
Type '{ required: true; label: string; isMulti: true; options: undefined[]; autoFocus: true; isClearable: true; placeholder: string; inputValue: string; value: OptionType<string, string>[]; ... 8 more ...; size: ComponentSizeType.large; }' is not assignable to type 'IntrinsicAttributes & Pick<SelectProps<string, true>, "value" | "options" | "autoFocus" | "onChange" | "placeholder" | "name" | "isLoading" | ... 20 more ... | "required"> & ... 4 more ... & { ...; }'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/UserPermissions/List/UserPermissionRow.tsx#L207
Type '{ component: ButtonComponentType.link; icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; linkProps: { to: string; }; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.neutral; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
Check linting issues:
src/Pages/GlobalConfigurations/Authorization/UserPermissions/List/UserPermissionRow.tsx#L218
Type '{ icon: Element; ariaLabel: string; showAriaLabelInTippy: false; dataTestId: string; onClick: () => void; isOpacityHoverChild: true; size: ComponentSizeType.xs; variant: ButtonVariantType.borderLess; style: ButtonStyleType.negativeGrey; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
Check linting issues
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading