mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 19:47:43 +01:00
chore: remove check window decorations (#966)
* chore: remove check window decorations * chore: add skip button * chore: key add index
This commit is contained in:
@@ -65,15 +65,18 @@
|
||||
"height": 260,
|
||||
"minHeight": 260,
|
||||
"center": false,
|
||||
"decorations": false,
|
||||
"transparent": true,
|
||||
"maximizable": false,
|
||||
"skipTaskbar": false,
|
||||
"dragDropEnabled": false,
|
||||
"hiddenTitle": true,
|
||||
"visible": false,
|
||||
"shadow": false,
|
||||
"windowEffects": {
|
||||
"effects": ["sidebar"],
|
||||
"state": "active"
|
||||
"state": "active",
|
||||
"radius": 7
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -172,9 +172,9 @@ function DropdownList({
|
||||
/>
|
||||
)}
|
||||
|
||||
{items.map((hit) => {
|
||||
{items.map((hit, idx) => {
|
||||
const currentIndex = hit.document.index ?? 0;
|
||||
const itemKey = `${sourceName}-${hit.document.id ?? currentIndex}`;
|
||||
const itemKey = `${sourceName}-${hit.document.id ?? currentIndex}-${idx}`;
|
||||
|
||||
return (
|
||||
<DropdownListItem
|
||||
|
||||
@@ -241,7 +241,7 @@ const UpdateApp = ({ isCheckPage }: UpdateAppProps) => {
|
||||
)}
|
||||
</Button>
|
||||
|
||||
{!isCheckPage && updateInfo && isOptional && (
|
||||
{updateInfo && isOptional && (
|
||||
<div
|
||||
className={clsx("text-xs text-[#999]", cursorClassName)}
|
||||
onClick={handleSkip}
|
||||
|
||||
Reference in New Issue
Block a user