Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessacb4cadd2bd05
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index f6ca268b4b..9df566f982 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -941,7 +941,7 @@ export const bazaar = {
bazaar._data.plugins = response.data.packages;
});
} else if (type === "downloaded") {
- const bazaarType = inputElement.parentElement.parentElement.querySelector(".b3-button:not(.b3-button--outline)").getAttribute("data-type").replace("my", "").toLowerCase() + "s" as TBazaarType
+ const bazaarType = inputElement.parentElement.parentElement.querySelector(".b3-button:not(.b3-button--outline)").getAttribute("data-type").replace("my", "").toLowerCase() + "s" as TBazaarType;
this._genMyHTML(bazaarType, app);
}
event.preventDefault();
diff --git a/app/src/config/repos.ts b/app/src/config/repos.ts
index c1d2c48c6f..796f37a286 100644
--- a/app/src/config/repos.ts
+++ b/app/src/config/repos.ts
@@ -169,7 +169,7 @@ const bindProviderEvent = () => {
importElement.addEventListener("change", () => {
const formData = new FormData();
formData.append("file", importElement.files[0]);
- const isS3 = importElement.getAttribute("data-type") === "s3"
+ const isS3 = importElement.getAttribute("data-type") === "s3";
fetchPost(isS3 ? "/api/sync/importSyncProviderS3" : "/api/sync/importSyncProviderWebDAV", formData, (response) => {
if (isS3) {
window.siyuan.config.sync.s3 = response.data.s3;
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index 8bcebef707..145fa468a5 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -1380,7 +1380,7 @@ const genImageWidthMenu = (label: string, assetElement: HTMLElement, imgElement:
click() {
nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
if (label === window.siyuan.languages.default) {
- const isCenter = assetElement.style.display === "block"
+ const isCenter = assetElement.style.display === "block";
assetElement.removeAttribute("style");
imgElement.removeAttribute("style");
if (isCenter) {