fix: set the default menu team error (#433)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/434/head
Ryan Wang 3 years ago committed by GitHub
parent f21c2e99cf
commit 28ecf16fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save