mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 One-click upgrade of downloaded marketplace packages https://github.com/siyuan-note/siyuan/issues/8390
This commit is contained in:
parent
b64770d595
commit
180bac66ef
1 changed files with 2 additions and 2 deletions
|
|
@ -707,7 +707,7 @@ export const bazaar = {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "install-all") {
|
||||
confirmDialog(window.siyuan.languages.updateAll, window.siyuan.languages.confirmUpdateAll, () => {
|
||||
confirmDialog('⬆️ ' + window.siyuan.languages.updateAll, window.siyuan.languages.confirmUpdateAll, () => {
|
||||
fetchPost("/api/bazaar/batchUpdatePackage", {frontend: getFrontend()});
|
||||
});
|
||||
event.preventDefault();
|
||||
|
|
@ -715,7 +715,7 @@ export const bazaar = {
|
|||
break;
|
||||
} else if (type === "install-t") {
|
||||
if (!target.classList.contains("b3-button--progress")) {
|
||||
confirmDialog(window.siyuan.languages.update, window.siyuan.languages.confirmUpdate, () => {
|
||||
confirmDialog('⬆️ ' + window.siyuan.languages.update, window.siyuan.languages.confirmUpdate, () => {
|
||||
const bazaarType = dataObj.bazaarType as TBazaarType;
|
||||
let url = "/api/bazaar/installBazaarTemplate";
|
||||
if (bazaarType === "themes") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue