mirror of
https://github.com/nasa/openmct.git
synced 2025-01-25 13:49:56 +00:00
rename composable function
This commit is contained in:
parent
d6a78839d5
commit
cc2e1eaed2
@ -187,7 +187,7 @@ import RecentObjectsList from './RecentObjectsList.vue';
|
||||
import GrandSearch from './search/GrandSearch.vue';
|
||||
import NotificationBanner from './status-bar/NotificationBanner.vue';
|
||||
import StatusIndicators from './status-bar/StatusIndicators.vue';
|
||||
import { useObserveOverflow } from './useOverflowToggle.js';
|
||||
import { useOverflowObserver } from './useOverflowToggle.js';
|
||||
|
||||
const SHELL_HEAD_LOCAL_STORAGE_KEY = 'openmct-shell-head';
|
||||
const DEFAULT_HEAD_EXPANDED = true;
|
||||
@ -229,7 +229,7 @@ export default {
|
||||
localStorage.setItem(SHELL_HEAD_LOCAL_STORAGE_KEY, initialHeadProps);
|
||||
}
|
||||
|
||||
const { isOverflowing, observeOverflow, unObserveOverflow } = useObserveOverflow(
|
||||
const { isOverflowing, observeOverflow, unObserveOverflow } = useOverflowObserver(
|
||||
indicatorsComponent,
|
||||
'indicatorsContainer'
|
||||
);
|
||||
|
@ -34,7 +34,7 @@ import { computed, onMounted, onUnmounted, ref } from 'vue';
|
||||
* @param {string} childRef the ref name of the child component
|
||||
* @returns { isOverflowing, observeOverflow, unObserveOverflow }
|
||||
*/
|
||||
export function useObserveOverflow(component, childRef) {
|
||||
export function useOverflowObserver(component, childRef) {
|
||||
let observer;
|
||||
let element;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user