diff --git a/deployment/helmchart/CHANGELOG.md b/deployment/helmchart/CHANGELOG.md index 74878e1..6b91dd7 100644 --- a/deployment/helmchart/CHANGELOG.md +++ b/deployment/helmchart/CHANGELOG.md @@ -1,5 +1,5 @@ -# [1.0.0] +# [1.0.1] ## Bug fixes -* Resolve "New dashboard user management blocks all apps for admin user" #61 +* Resolve "App access role is not persistent" #63 diff --git a/deployment/helmchart/Chart.yaml b/deployment/helmchart/Chart.yaml index 652667c..d851ec1 100644 --- a/deployment/helmchart/Chart.yaml +++ b/deployment/helmchart/Chart.yaml @@ -1,7 +1,7 @@ annotations: category: Dashboard apiVersion: v2 -appVersion: 0.2.4 +appVersion: 0.2.5 dependencies: - name: common # https://artifacthub.io/packages/helm/bitnami/common @@ -23,4 +23,4 @@ name: stackspin-dashboard sources: - https://open.greenhost.net/stackspin/dashboard/ - https://open.greenhost.net/stackspin/dashboard-backend/ -version: 1.0.0 +version: 1.0.1 diff --git a/src/components/Form/Input/Input.tsx b/src/components/Form/Input/Input.tsx index aa7cdd4..91d5933 100644 --- a/src/components/Form/Input/Input.tsx +++ b/src/components/Form/Input/Input.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useController } from 'react-hook-form'; /* eslint-disable react/react-in-jsx-scope */ -export const Input = ({ control, name, type = 'text', label, ...props }: InputProps) => { +export const Input = ({ control, name, type = 'text', label, required, ...props }: InputProps) => { const { field, // fieldState: { invalid, isTouched, isDirty }, @@ -10,7 +10,7 @@ export const Input = ({ control, name, type = 'text', label, ...props }: InputPr } = useController({ name, control, - rules: { required: true }, + rules: { required }, defaultValue: '', }); diff --git a/src/components/UserModal/UserModal.tsx b/src/components/UserModal/UserModal.tsx index 00fcb9b..bafc99b 100644 --- a/src/components/UserModal/UserModal.tsx +++ b/src/components/UserModal/UserModal.tsx @@ -116,11 +116,18 @@ export const UserModal = ({ open, onClose, userId, setUserId }: UserModalProps)