1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-07 01:16:28 +02:00

fix: project stickiness behind flag (#3355)

This commit is contained in:
Mateusz Kwasniewski 2023-03-21 08:13:43 +01:00 committed by GitHub
parent 1bb69dfbe0
commit fe6324760e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,10 +73,12 @@ const EditProject = () => {
if (validName) {
try {
await editProject(id, payload);
await setDefaultProjectStickiness(
projectId,
payload.defaultStickiness
);
if (uiConfig?.flags?.projectScopedStickiness) {
await setDefaultProjectStickiness(
projectId,
payload.defaultStickiness
);
}
refetch();
navigate(`/projects/${id}`);
setToastData({