chore: spotlight improvements for team requests search (#3930)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
@@ -169,7 +169,16 @@ export class CollectionsSpotlightSearcherService
|
||||
}
|
||||
|
||||
scopeHandle.run(() => {
|
||||
const isPersonalWorkspace = computed(
|
||||
() => this.workspaceService.currentWorkspace.value.type === "personal"
|
||||
)
|
||||
|
||||
watch(query, (query) => {
|
||||
if (!isPersonalWorkspace.value) {
|
||||
results.value = []
|
||||
return
|
||||
}
|
||||
|
||||
if (pageCategory === "other") {
|
||||
results.value = []
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user