chore(quick actions): format
This commit is contained in:
parent
c327d86a71
commit
1e19548563
@ -265,10 +265,12 @@ const searchMode = computed(() => {
|
|||||||
if (query.value === '') {
|
if (query.value === '') {
|
||||||
return SEARCH_MODE.ALL
|
return SEARCH_MODE.ALL
|
||||||
}
|
}
|
||||||
|
|
||||||
const {text, project, labels, assignees} = parsedQuery.value
|
const {text, project, labels, assignees} = parsedQuery.value
|
||||||
if (assignees.length === 0 && text !== '') {
|
if (assignees.length === 0 && text !== '') {
|
||||||
return SEARCH_MODE.TASKS
|
return SEARCH_MODE.TASKS
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
assignees.length === 0 &&
|
assignees.length === 0 &&
|
||||||
project !== null &&
|
project !== null &&
|
||||||
@ -277,6 +279,7 @@ const searchMode = computed(() => {
|
|||||||
) {
|
) {
|
||||||
return SEARCH_MODE.PROJECTS
|
return SEARCH_MODE.PROJECTS
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
assignees.length > 0 &&
|
assignees.length > 0 &&
|
||||||
project === null &&
|
project === null &&
|
||||||
@ -285,6 +288,7 @@ const searchMode = computed(() => {
|
|||||||
) {
|
) {
|
||||||
return SEARCH_MODE.TEAMS
|
return SEARCH_MODE.TEAMS
|
||||||
}
|
}
|
||||||
|
|
||||||
return SEARCH_MODE.ALL
|
return SEARCH_MODE.ALL
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user