mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-04 22:50:54 +00:00
fix: prevent empty project override in UI and sync project state on routes
This commit is contained in:
parent
820928260c
commit
8fcb778159
1 changed files with 2 additions and 2 deletions
|
|
@ -249,10 +249,10 @@
|
|||
<div class="field-description">Project to activate for email chats</div>
|
||||
</div>
|
||||
<div class="field-control">
|
||||
<select x-model="handler.project">
|
||||
<select :value="handler.project" @change="handler.project = $event.target.value">
|
||||
<option value="">No project</option>
|
||||
<template x-for="proj in projects" :key="proj.name">
|
||||
<option :value="proj.name" x-text="proj.title || proj.name"></option>
|
||||
<option :value="proj.name" x-text="proj.title || proj.name" :selected="handler.project === proj.name"></option>
|
||||
</template>
|
||||
</select>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue