mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Added extensive add to in context menu
This commit is contained in:
1 parent
07e85cfdc9
commit
5909c704f4
6 files changed
+181
-181
No files matched your search
@@ -2,6 +2,8 @@ interface Props {
|
||||
showing: number
|
||||
total: number
|
||||
sourceName: string
|
||||
/** Rows currently selected; shown only when non-zero. */
|
||||
selected?: number
|
||||
loading?: boolean
|
||||
collectionName?: string | null
|
||||
onChangeCollection?: () => void
|
||||
@@ -11,6 +13,7 @@ export function StatusBar({
|
||||
showing,
|
||||
total,
|
||||
sourceName,
|
||||
selected = 0,
|
||||
loading,
|
||||
collectionName,
|
||||
onChangeCollection,
|
||||
@@ -32,6 +35,12 @@ export function StatusBar({
|
||||
)}
|
||||
</span>
|
||||
)}
|
||||
{selected > 0 && (
|
||||
<>
|
||||
<span className="text-faint">·</span>
|
||||
<span className="tabular-nums text-accent">{selected.toLocaleString()} selected</span>
|
||||
</>
|
||||
)}
|
||||
{collectionName && (
|
||||
<button
|
||||
onClick={onChangeCollection}
|
||||
|
||||
Reference in new issue
Block a user