Skip to content

Commit 08c83bb

Browse files
committed
fix: spec namespace field
1 parent bed31ae commit 08c83bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/services/create-edit/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export default function ({
145145
})
146146
}
147147

148-
if (teamId === 'admin' && !serviceName) setValue('spec.namespace', `team-admin`)
148+
if (teamId !== 'admin' && !serviceName) setValue('spec.namespace', `team-${teamId}`)
149149
}, [data, setValue])
150150

151151
useEffect(() => {

0 commit comments

Comments
 (0)