total cleanups

This commit is contained in:
Peter Olu 2022-04-25 18:59:07 +01:00
parent d71808d036
commit cf2fb2f958
3 changed files with 4 additions and 13616 deletions

View File

@ -79,9 +79,7 @@ export default defineComponent({
function initScroller() { function initScroller() {
scrollWrapRef?.value?.addEventListener("scroll", (e: Event) => { scrollWrapRef?.value?.addEventListener("scroll", (e: Event) => {
const isBottom = const isBottom =
scrollWrapRef?.value?.offsetHeight + scrollWrapRef?.value?.offsetHeight + scrollWrapRef?.value?.scrollTop + 40 >
scrollWrapRef?.value?.scrollTop +
40 >
scrollWrapRef?.value?.scrollHeight; scrollWrapRef?.value?.scrollHeight;
if (isBottom) { if (isBottom) {

View File

@ -183,7 +183,6 @@ export default defineComponent({
const tabObserveContainer = ref<any>(null); const tabObserveContainer = ref<any>(null);
const currentItem = ref(""); const currentItem = ref("");
const l = dashboardStore.layout.findIndex((d: LayoutConfig) => d.i === props.data.i); const l = dashboardStore.layout.findIndex((d: LayoutConfig) => d.i === props.data.i);
if (dashboardStore.layout[l].children.length) { if (dashboardStore.layout[l].children.length) {
dashboardStore.setCurrentTabItems( dashboardStore.setCurrentTabItems(

13609
yarn.lock

File diff suppressed because it is too large Load Diff