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

This commit is contained in:
Mateusz Mandera
2024-01-18 22:23:37 +01:00
committed by Tim Abbott
parent 1ab4520c4e
commit 1f79e6294f

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) {