mirror of https://github.com/zulip/zulip.git
desktop_app: Close popover when clicking on "Plan management".
(cherry picked from commit e916ae754a
)
This commit is contained in:
parent
4df748d151
commit
a96c821651
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue