mirror of
https://gh.llkk.cc/https://github.com/CaptainCore/captaincore-manager.git
synced 2025-10-03 14:04:44 +08:00
🐛 FIX: Rollback
This commit is contained in:
parent
158bef8731
commit
67ccbd6d43
1 changed files with 2 additions and 2 deletions
|
@ -13377,7 +13377,7 @@ const app = createApp({
|
|||
this.snackbar.show = true;
|
||||
})
|
||||
},
|
||||
RollbackQuicksave( hash, addon_type, addon_name, version, dialog ){
|
||||
RollbackQuicksave( hash, addon_type, addon_name, version, isActive ){
|
||||
site = this.dialog_site.site
|
||||
environment = this.dialog_site.environment_selected;
|
||||
quicksave = environment.quicksaves.filter( quicksave => quicksave.hash == hash )[0];
|
||||
|
@ -13390,7 +13390,7 @@ const app = createApp({
|
|||
description = "Rollback "+ addon_type + " " + addon_name +" to version as of " + previous_date + " on " + site.name;
|
||||
}
|
||||
|
||||
if ( typeof dialog.value == "boolean" ) {
|
||||
if ( isActive && typeof isActive.value == "boolean" ) {
|
||||
isActive.value = false
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue