@antscorp/antsomi-ui 1.3.5-beta.234 → 1.3.5-beta.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,11 +13,11 @@ export const getCategoriesFromObjectTemplate = (objectTemplate) => {
|
|
|
13
13
|
export const checkShowSkeletonBaseUrl = (url = '') => {
|
|
14
14
|
if (url.includes('type')) {
|
|
15
15
|
switch (true) {
|
|
16
|
-
case url.includes('media'):
|
|
16
|
+
case url.includes('type=media'):
|
|
17
17
|
return true;
|
|
18
|
-
case url.includes('email'):
|
|
18
|
+
case url.includes('type=email'):
|
|
19
19
|
return false;
|
|
20
|
-
|
|
20
|
+
case url.includes('type=tactic'):
|
|
21
21
|
default:
|
|
22
22
|
return false;
|
|
23
23
|
}
|