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:
parent
1bb69dfbe0
commit
fe6324760e
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user