168c55990f2c477e7beccb02bb44a283d1cca25a
Access extensions can narrow ``canSeeAdmin`` to ``false`` even when ``currentUser.is_admin`` is ``true``. The default-landing logic keyed off ``is_admin`` and pushed admin to ``/dashboard``; when ``canSeeAdmin`` is narrowed there, ``Exception`` 403-redirects to ``/``, which re-pushes ``/dashboard``, looping into a blank screen. Switch the landing pick (and the masthead-click handler) to consult the resolved ``access.canSeeAdmin`` predicate instead. Behavior is unchanged for the default access module, where ``canSeeAdmin`` mirrors ``is_admin``.
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%