|
|
@ -13,13 +13,10 @@ import { |
|
|
|
useBase, |
|
|
|
useBase, |
|
|
|
useNuxtApp, |
|
|
|
useNuxtApp, |
|
|
|
useRoles, |
|
|
|
useRoles, |
|
|
|
useSharedView, |
|
|
|
|
|
|
|
useSmartsheetStoreOrThrow, |
|
|
|
useSmartsheetStoreOrThrow, |
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
export function useViewSorts(view: Ref<ViewType | undefined>, reloadData?: () => void) { |
|
|
|
export function useViewSorts(view: Ref<ViewType | undefined>, reloadData?: () => void) { |
|
|
|
const { sharedView } = useSharedView() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { sorts, eventBus } = useSmartsheetStoreOrThrow() |
|
|
|
const { sorts, eventBus } = useSmartsheetStoreOrThrow() |
|
|
|
|
|
|
|
|
|
|
|
const { $api, $e } = useNuxtApp() |
|
|
|
const { $api, $e } = useNuxtApp() |
|
|
|