chore: Add ee helper, custom_attributes to account (#5058)

This commit is contained in:
Pranav Raj S
2022-07-19 02:03:06 +07:00
committed by GitHub
parent d8140db2e8
commit 1dc7ce526e
14 changed files with 56 additions and 23 deletions

View File

@@ -15,6 +15,11 @@ class ApiClient {
baseUrl() {
let url = this.apiVersion;
if (this.options.enterprise) {
url = `/enterprise${url}`;
}
if (this.options.accountScoped) {
const isInsideAccountScopedURLs = window.location.pathname.includes(
'/app/accounts'