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 {$t} from "./i18n";
|
||||||
import * as message_store from "./message_store";
|
import * as message_store from "./message_store";
|
||||||
import * as narrow from "./narrow";
|
import * as narrow from "./narrow";
|
||||||
|
import * as popovers from "./popovers";
|
||||||
import * as stream_data from "./stream_data";
|
import * as stream_data from "./stream_data";
|
||||||
|
|
||||||
if (window.electron_bridge !== undefined) {
|
if (window.electron_bridge !== undefined) {
|
||||||
|
@ -80,6 +81,7 @@ export function initialize() {
|
||||||
url,
|
url,
|
||||||
success(data) {
|
success(data) {
|
||||||
window.open(data.billing_access_url, "_blank", "noopener,noreferrer");
|
window.open(data.billing_access_url, "_blank", "noopener,noreferrer");
|
||||||
|
popovers.hide_all();
|
||||||
},
|
},
|
||||||
error(xhr) {
|
error(xhr) {
|
||||||
if (xhr.responseJSON?.msg) {
|
if (xhr.responseJSON?.msg) {
|
||||||
|
|
Loading…
Reference in New Issue