🎨 Improve code readability by reformatting computed property and component props
This commit is contained in:
@@ -72,7 +72,9 @@ const props = defineProps({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const internalFilterState = useJsonFilter();
|
const internalFilterState = useJsonFilter();
|
||||||
const activeFilterState = computed(() => props.filterState || internalFilterState);
|
const activeFilterState = computed(
|
||||||
|
() => props.filterState || internalFilterState
|
||||||
|
);
|
||||||
|
|
||||||
const {
|
const {
|
||||||
filterProperty,
|
filterProperty,
|
||||||
|
|||||||
@@ -100,7 +100,11 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Property Filter -->
|
<!-- Property Filter -->
|
||||||
<FilterPanel v-if="fileContent" :data="filterData" :filter-state="filterState" />
|
<FilterPanel
|
||||||
|
v-if="fileContent"
|
||||||
|
:data="filterData"
|
||||||
|
:filter-state="filterState"
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- Progress Bar (for long operations) -->
|
<!-- Progress Bar (for long operations) -->
|
||||||
<div v-if="operationProgress.active" class="progress-bar-container">
|
<div v-if="operationProgress.active" class="progress-bar-container">
|
||||||
|
|||||||
Reference in New Issue
Block a user