mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-16 01:59:56 -05:00
[PR #1287] [MERGED] fix missing nullish check when selecting stack #19319
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/1287
Author: @ericls
Created: 3/28/2026
Status: ✅ Merged
Merged: 4/1/2026
Merged by: @mbecker20
Base:
2.1.0← Head:shen/fix-creating-terminal-for-stack-when-no-stack📝 Commits (1)
fd5738cfix missing nullish check when selecting stack📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
ui/src/components/stack-service-selector.tsx(+1 -1)📄 Description
Ran into a crash when creating terminal when I select type "stack" while I have 0 stacks configured.
Page crashes with following error:

Looked at the code and looks like a simple case of missing null check.
Side note: Should we enable frontend source map in the builds?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.