diff options
author | Michael Muré <batolettre@gmail.com> | 2021-03-19 17:04:59 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-03-19 17:04:59 +0100 |
commit | 07e1c45cd70554630640bb1ea25968078a36fd6c (patch) | |
tree | 1b604b88932719d219d941333f38f5209f65945a /webui/src/pages/list/FilterToolbar.tsx | |
parent | 0b3acaa3211b1c884bd42f18bf58383343b42bc1 (diff) | |
download | git-bug-07e1c45cd70554630640bb1ea25968078a36fd6c.tar.gz |
webui: minor code fixes
Diffstat (limited to 'webui/src/pages/list/FilterToolbar.tsx')
-rw-r--r-- | webui/src/pages/list/FilterToolbar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/src/pages/list/FilterToolbar.tsx b/webui/src/pages/list/FilterToolbar.tsx index e4cd8e6a..74eefe4c 100644 --- a/webui/src/pages/list/FilterToolbar.tsx +++ b/webui/src/pages/list/FilterToolbar.tsx @@ -40,7 +40,7 @@ function CountingFilter({ query, children, ...props }: CountingFilterProps) { variables: { query }, }); - var prefix; + let prefix; if (loading) prefix = '...'; else if (error || !data?.repository) prefix = '???'; // TODO: better prefixes & error handling |