mirror of https://github.com/halo-dev/halo
fix: set the default menu team error (halo-dev/console#433)
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/3445/head
parent
10bf358e33
commit
e081656d96
|
@ -325,11 +325,9 @@ export default {
|
|||
handleSetDefaultTeam() {
|
||||
this.teams.default.saving = true
|
||||
apiClient.option
|
||||
.save([
|
||||
{
|
||||
default_menu_team: this.teams.selected
|
||||
}
|
||||
])
|
||||
.saveMapView({
|
||||
default_menu_team: this.teams.selected
|
||||
})
|
||||
.catch(() => {
|
||||
this.teams.default.errored = true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue