mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
desktop_app: Close popover when clicking on "Plan management".
This commit is contained in:
committed by
Tim Abbott
parent
1ab4520c4e
commit
1f79e6294f
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user