1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

feat(waiting-room): add beta alert to assignment [EE-5384] (#9028)

This commit is contained in:
Chaim Lev-Ari 2023-06-08 06:02:36 +07:00 committed by GitHub
parent 73950f3603
commit 8129e7590b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 14 deletions

View file

@ -3,6 +3,7 @@ import { Form, Formik } from 'formik';
import { addPlural } from '@/portainer/helpers/strings';
import { useUpdateEnvironmentsRelationsMutation } from '@/react/portainer/environments/queries/useUpdateEnvironmentsRelationsMutation';
import { notifySuccess } from '@/portainer/services/notifications';
import { BetaAlert } from '@/react/portainer/environments/update-schedules/common/BetaAlert';
import { Checkbox } from '@@/form-components/Checkbox';
import { FormControl } from '@@/form-components/FormControl';
@ -146,6 +147,16 @@ export function AssignmentDialog({
Associate
</LoadingButton>
</Modal.Footer>
<div className="mt-2">
<BetaAlert
message={
<>
<b>Beta Feature</b> - This feature is currently in beta,
some functions might not work as expected.
</>
}
/>
</div>
</Form>
)}
</Formik>