🔍 Refactor computed property for active search state to improve readability
This commit is contained in:
@@ -91,7 +91,9 @@ const fileLines = toRef(props, 'fileLines');
|
||||
const displayLines = toRef(props, 'displayLines');
|
||||
|
||||
const internalSearchState = useGamemasterSearch(fileLines, displayLines);
|
||||
const activeSearchState = computed(() => props.searchState || internalSearchState);
|
||||
const activeSearchState = computed(
|
||||
() => props.searchState || internalSearchState
|
||||
);
|
||||
|
||||
const {
|
||||
searchQuery,
|
||||
|
||||
Reference in New Issue
Block a user