d12e92a916d07d29ed6a7f8ae1bc59dfa9ba6920
The deploy form's cluster select could open blank even when a valid (default) cluster exists for the current scope. The open handler seeds the cluster once, but that seed can be empty (options not loaded yet) or point outside the resolved scope (the scope id and the option list both settle after mount, and switching scope re-scopes the list), and nothing re-picked afterwards — so the field stayed empty. Make the form enforce the invariant directly: whenever the scope or the available options change, if the current selection is empty or not among the options, fall back to the scope's default cluster (then a Ready one, then the first). A still-valid selection is left untouched.
GPUStack UI
UI for GPUStack.
Installation
- Nodejs 16.0+(with NPM)
If you're on Mac
brew install node
npm install -g pnpm
- Setup
git clone https://github.com/gpustack/gpustack-ui/
- Install dependencies
cd gpustack-ui
pnpm install
Usage
- Run development server (at http://localhost:9000)
npm run dev
- build release
npm run build
Bugs & Issues
- Please submit bugs and issues with a label
ui
Links
- Official website: https://gpustack.ai/
- Documents: https://docs.gpustack.ai/latest/overview/
Languages
TypeScript
68.9%
JavaScript
29.4%
Less
1.4%
CSS
0.3%