mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-24 00:53:05 +00:00
chore: format
This commit is contained in:
parent
4ea2085239
commit
be4de299b1
2 changed files with 2 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ flowchart LR
|
||||||
```
|
```
|
||||||
|
|
||||||
**Opções consideradas:**
|
**Opções consideradas:**
|
||||||
|
|
||||||
- A) Tab como chip de apresentação (não-URL, como scenario em municípios)
|
- A) Tab como chip de apresentação (não-URL, como scenario em municípios)
|
||||||
- B) Tab permanece em `?tab=` com chip/sugestões na omnibox
|
- B) Tab permanece em `?tab=` com chip/sugestões na omnibox
|
||||||
- C) Tab vira filtro de status composto (rejeitado pelo produto)
|
- C) Tab vira filtro de status composto (rejeitado pelo produto)
|
||||||
|
|
|
||||||
|
|
@ -206,8 +206,7 @@ export const applyActivityOmniboxSuggestion = ({
|
||||||
if (suggestionId.startsWith('tab:')) {
|
if (suggestionId.startsWith('tab:')) {
|
||||||
const value = suggestionId.slice(4) as ActivityTab
|
const value = suggestionId.slice(4) as ActivityTab
|
||||||
if (!activityTabs.includes(value)) return { kind: 'url', state }
|
if (!activityTabs.includes(value)) return { kind: 'url', state }
|
||||||
const next =
|
const next = state.tab === value ? setTab(state, 'proximos') : setTab(state, value)
|
||||||
state.tab === value ? setTab(state, 'proximos') : setTab(state, value)
|
|
||||||
return { kind: 'url', state: next }
|
return { kind: 'url', state: next }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue