1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-13 17:24:44 +08:00

fix: 解决修改分组之后 网站页面过滤条件分组没有刷新的问题 (#565)

This commit is contained in:
zhengkunwang223 2023-04-10 17:30:23 +08:00 committed by GitHub
parent 4c2fb7095d
commit d00e5b0421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View File

@ -508,7 +508,6 @@ func (a AppService) SyncAppListFromLocal() {
}
tx.Commit()
global.LOG.Infof("sync local apps success")
return
}
func (a AppService) SyncAppListFromRemote() error {
updateRes, err := a.GetAppUpdate()

View File

@ -417,6 +417,9 @@ func upApp(ctx context.Context, appInstall model.AppInstall) {
if err == nil {
var composeService *composeV2.ComposeService
composeService, err = getServiceFromInstall(appInstall)
if err != nil {
return err
}
err = composeService.ComposeUp()
if err != nil {
return err

View File

@ -47,7 +47,7 @@ func Run() {
for i := 0; i < len(cronJobs); i++ {
entryID, err := service.NewICronjobService().StartJob(&cronJobs[i])
if err != nil {
global.LOG.Errorf("start %s job %s failed, err: %v", &cronJobs[i].Type, &cronJobs[i].Name, err)
global.LOG.Errorf("start %s job %s failed, err: %v", cronJobs[i].Type, cronJobs[i].Name, err)
}
if err := repo.NewICronjobRepo().Update(cronJobs[i].ID, map[string]interface{}{"entry_id": entryID}); err != nil {
global.LOG.Errorf("update cronjob %s %s failed, err: %v", cronJobs[i].Type, cronJobs[i].Name, err)

View File

@ -437,7 +437,6 @@ func (f FileOp) Compress(srcRiles []string, dst string, name string, cType Compr
_ = f.DeleteFile(dstFile)
return err
}
break
}
return nil
}

View File

@ -150,7 +150,7 @@
<UploadDialog ref="uploadRef" />
<Backups ref="dialogBackupRef" />
<DefaultServer ref="defaultRef" />
<GroupDialog @search="search" ref="groupRef" />
<GroupDialog @search="listGroup" ref="groupRef" />
</div>
</template>