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,
|
"height": 260,
|
||||||
"minHeight": 260,
|
"minHeight": 260,
|
||||||
"center": false,
|
"center": false,
|
||||||
|
"decorations": false,
|
||||||
"transparent": true,
|
"transparent": true,
|
||||||
"maximizable": false,
|
"maximizable": false,
|
||||||
"skipTaskbar": false,
|
"skipTaskbar": false,
|
||||||
"dragDropEnabled": false,
|
"dragDropEnabled": false,
|
||||||
"hiddenTitle": true,
|
"hiddenTitle": true,
|
||||||
"visible": false,
|
"visible": false,
|
||||||
|
"shadow": false,
|
||||||
"windowEffects": {
|
"windowEffects": {
|
||||||
"effects": ["sidebar"],
|
"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 currentIndex = hit.document.index ?? 0;
|
||||||
const itemKey = `${sourceName}-${hit.document.id ?? currentIndex}`;
|
const itemKey = `${sourceName}-${hit.document.id ?? currentIndex}-${idx}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DropdownListItem
|
<DropdownListItem
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ const UpdateApp = ({ isCheckPage }: UpdateAppProps) => {
|
|||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{!isCheckPage && updateInfo && isOptional && (
|
{updateInfo && isOptional && (
|
||||||
<div
|
<div
|
||||||
className={clsx("text-xs text-[#999]", cursorClassName)}
|
className={clsx("text-xs text-[#999]", cursorClassName)}
|
||||||
onClick={handleSkip}
|
onClick={handleSkip}
|
||||||
|
|||||||
Reference in New Issue
Block a user