Skip to content

Commit 7cfc9d7

Browse files
authored
Merge pull request #308 from artshade/bugfix/log-viewer
Fixed issue with search API optional parameters
2 parents 647b0c4 + 5af82a1 commit 7cfc9d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/stores/logViewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ export const useLogViewerStore = defineStore({
201201
query: searchStore.query,
202202
page: paginationStore.currentPage,
203203
per_page: this.resultsPerPage,
204-
exclude_levels: toRaw(severityStore.excludedLevels.length > 0 ? severityStore.excludedLevels : ''),
205-
exclude_file_types: toRaw(fileStore.fileTypesExcluded.length > 0 ? fileStore.fileTypesExcluded : ''),
204+
exclude_levels: toRaw(severityStore.excludedLevels),
205+
exclude_file_types: toRaw(fileStore.fileTypesExcluded),
206206
shorter_stack_traces: this.shorterStackTraces,
207207
};
208208

0 commit comments

Comments
 (0)