Compare commits
2 Commits
d830b92fbf
...
24973eabfe
| Author | SHA1 | Date | |
|---|---|---|---|
|
24973eabfe
|
|||
|
6078d8a2c3
|
@@ -1,27 +0,0 @@
|
|||||||
name: Build static content
|
|
||||||
|
|
||||||
on:
|
|
||||||
# Runs on pushes targeting the default branch
|
|
||||||
push:
|
|
||||||
branches: ["master"]
|
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Use Node.js 20.x
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 20.x
|
|
||||||
cache: 'npm'
|
|
||||||
- run: npm install
|
|
||||||
- run: npm run build
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: dist-files
|
|
||||||
path: './dist/'
|
|
||||||
@@ -548,7 +548,7 @@ function ChatTemplateDropdownList() {
|
|||||||
<CommandItem
|
<CommandItem
|
||||||
key={index}
|
key={index}
|
||||||
value={t.name}
|
value={t.name}
|
||||||
onSelect={() => handleTemplateSelect(t)}
|
onSelect={() => handleTemplateSelect(structuredClone(t))}
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-between w-full">
|
<div className="flex items-center justify-between w-full">
|
||||||
<span>{t.name}</span>
|
<span>{t.name}</span>
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export function TemplateAttributeDialog({
|
|||||||
(filteredStore as any)[typedKey] = chatStore[typedKey];
|
(filteredStore as any)[typedKey] = chatStore[typedKey];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
onSave(templateName, filteredStore);
|
onSave(templateName, structuredClone(filteredStore));
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleAll = (checked: boolean) => {
|
const toggleAll = (checked: boolean) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user