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.
## 📋 Pull Request Information
**Original PR:** https://github.com/moghtech/komodo/pull/1287
**Author:** [@ericls](https://github.com/ericls)
**Created:** 3/28/2026
**Status:** ✅ Merged
**Merged:** 4/1/2026
**Merged by:** [@mbecker20](https://github.com/mbecker20)
**Base:** `2.1.0` ← **Head:** `shen/fix-creating-terminal-for-stack-when-no-stack`
---
### 📝 Commits (1)
- [`fd5738c`](https://github.com/moghtech/komodo/commit/fd5738c15458312f39a4ac045ee1c70695230521) fix missing nullish check when selecting stack
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `ui/src/components/stack-service-selector.tsx` (+1 -1)
</details>
### 📄 Description
Ran into a crash when creating terminal when I select type "stack" while I have 0 stacks configured.
Page crashes with following error:
<img width="627" height="790" alt="Screenshot 2026-03-27 at 23 33 31" src="https://github.com/user-attachments/assets/2dcb4db3-eb73-4c17-90b8-8c920585994f" />
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?
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.