chore: Minor fix
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
MESSAGE_STATUS,
|
||||
CONTENT_TYPES,
|
||||
} from './constants';
|
||||
import { useGlobalScrollLock } from 'dashboard/composables/useGlobalScrollLock';
|
||||
import { useTargetScrollLock } from 'dashboard/composables/useTargetScrollLock';
|
||||
|
||||
import Avatar from 'next/avatar/Avatar.vue';
|
||||
|
||||
@@ -131,7 +131,7 @@ const props = defineProps({
|
||||
sourceId: { type: String, default: '' }, // eslint-disable-line vue/no-unused-properties
|
||||
});
|
||||
|
||||
const conversationPanelScrollLock = useGlobalScrollLock();
|
||||
const conversationPanelScrollLock = useTargetScrollLock();
|
||||
const contextMenuPosition = ref({});
|
||||
const showBackgroundHighlight = ref(false);
|
||||
const showContextMenu = ref(false);
|
||||
|
||||
@@ -3,7 +3,7 @@ import { computed, useTemplateRef, ref, onMounted, reactive } from 'vue';
|
||||
import { Letter } from 'vue-letter';
|
||||
import { allowedCssProperties } from 'lettersanitizer';
|
||||
import { useWindowSize, useToggle } from '@vueuse/core';
|
||||
import { useGlobalScrollLock } from 'dashboard/composables/useGlobalScrollLock';
|
||||
import { useTargetScrollLock } from 'dashboard/composables/useTargetScrollLock';
|
||||
|
||||
import Icon from 'next/icon/Icon.vue';
|
||||
import { EmailQuoteExtractor } from './removeReply.js';
|
||||
@@ -34,7 +34,7 @@ const contentContainer = useTemplateRef('contentContainer');
|
||||
// Forward form - managed locally but can be triggered by parent
|
||||
const [showForwardMessageModal, toggleForwardModal] = useToggle();
|
||||
const forwardFormPosition = reactive({ top: 0, right: 0 });
|
||||
const conversationPanelScrollLock = useGlobalScrollLock();
|
||||
const conversationPanelScrollLock = useTargetScrollLock();
|
||||
const { width: windowWidth, height: windowHeight } = useWindowSize();
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user