diff --git a/deployment/helmchart/CHANGELOG.md b/deployment/helmchart/CHANGELOG.md index fae3c1f..7cfd647 100644 --- a/deployment/helmchart/CHANGELOG.md +++ b/deployment/helmchart/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [1.0.5] + +### Bug fixes + +* Propagate admin access to all apps for dashboard admins #62 + +### Features + +* Update dashboard to v0.2.6 +* Update dashboard-backend to v0.2.7 + ## [1.0.4] ### Bug fixes diff --git a/deployment/helmchart/Chart.yaml b/deployment/helmchart/Chart.yaml index 8f63687..4cefaa8 100644 --- a/deployment/helmchart/Chart.yaml +++ b/deployment/helmchart/Chart.yaml @@ -1,7 +1,7 @@ annotations: category: Dashboard apiVersion: v2 -appVersion: 0.2.5 +appVersion: 0.2.6 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.4 +version: 1.0.5 diff --git a/deployment/helmchart/values.yaml b/deployment/helmchart/values.yaml index 2474310..fff5256 100644 --- a/deployment/helmchart/values.yaml +++ b/deployment/helmchart/values.yaml @@ -68,7 +68,7 @@ dashboard: image: registry: open.greenhost.net:4567 repository: stackspin/dashboard/dashboard - tag: 0-2-5 + tag: 0-2-6 ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ @@ -235,7 +235,7 @@ backend: image: registry: open.greenhost.net:4567 repository: stackspin/dashboard-backend/dashboard-backend - tag: 0-2-6 + tag: 0-2-7 ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ diff --git a/src/components/Form/Select/Select.tsx b/src/components/Form/Select/Select.tsx index b5416d2..aad51fa 100644 --- a/src/components/Form/Select/Select.tsx +++ b/src/components/Form/Select/Select.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useController } from 'react-hook-form'; /* eslint-disable react/react-in-jsx-scope */ -export const Select = ({ control, name, label, options }: SelectProps) => { +export const Select = ({ control, name, label, options, disabled = false }: SelectProps) => { const { field, // fieldState: { invalid, isTouched, isDirty }, @@ -27,6 +27,7 @@ export const Select = ({ control, name, label, options }: SelectProps) => { name={name} // send down the input name ref={field.ref} // send input ref, so we can focus on input when error appear className="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border-gray-300 rounded-md" + disabled={disabled} > {options?.map((option) => (