adminforth 1.3.56-next.15 → 1.3.56-next.16
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.
|
@@ -22,6 +22,12 @@ const limitHeightToPage = computed(() => {
|
|
|
22
22
|
if (route.name !== 'resource-list' ) {
|
|
23
23
|
return false;
|
|
24
24
|
}
|
|
25
|
+
// for mobile phones disable shrinking table at all because of the issues with HEADER and general UX
|
|
26
|
+
// use navigator.userAgent to detect mobile phones
|
|
27
|
+
if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
|
|
25
31
|
if (!coreStore.resource?.options?.pageInjections?.list) {
|
|
26
32
|
return true;
|
|
27
33
|
}
|