Skip to content

Commit 65cfc25

Browse files
fix: need to include even the masked values (#1544)
* fix: need to include even the masked values * fix: prettier --------- Co-authored-by: tomsmith8 <tomsmith8@users.noreply.github.com>
1 parent 4c4914e commit 65cfc25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/people/widgetViews/workspace/WorkspaceEnvVarsModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ const WorkspaceEnvVarsModal: React.FC<WorkspaceEnvVarsModalProps> = observer(
7878
const handleSave = async () => {
7979
setSaving(true);
8080
// Only send new/changed values (not masked/unchanged)
81-
const toSend = envVars.filter((v) => v.value && !v.value.includes('*'));
81+
const toSend = envVars.filter((v) => v.value);
82+
8283
try {
8384
await mainStore.updateWorkspaceEnvVars(workspaceUuid, toSend);
8485
onClose();

0 commit comments

Comments
 (0)