desktop_app: Close popover when clicking on "Plan management".

(cherry picked from commit e916ae754a)
This commit is contained in:
Mateusz Mandera 2024-01-18 22:23:37 +01:00 committed by Tim Abbott
parent 4df748d151
commit a96c821651
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import * as feedback_widget from "./feedback_widget";
import {$t} from "./i18n";
import * as message_store from "./message_store";
import * as narrow from "./narrow";
import * as popovers from "./popovers";
import * as stream_data from "./stream_data";
if (window.electron_bridge !== undefined) {
@ -80,6 +81,7 @@ export function initialize() {
url,
success(data) {
window.open(data.billing_access_url, "_blank", "noopener,noreferrer");
popovers.hide_all();
},
error(xhr) {
if (xhr.responseJSON?.msg) {