updates on the changes
This commit is contained in:
@@ -535,7 +535,7 @@ const Riders = () => {
|
||||
toolbar={
|
||||
<FilterToolbar max={tabvalue === 3 ? 3 : 1}>
|
||||
<HStack justify="end">
|
||||
<VStack width={260} padding={0} gap={0}>
|
||||
<VStack maxWidth={260} width="100%" padding={0} gap={0}>
|
||||
<DebounceSearchBar
|
||||
value={searchword}
|
||||
onChange={setSearchword}
|
||||
@@ -804,19 +804,14 @@ const Riders = () => {
|
||||
</HStack>
|
||||
{roleid == 1 && <RowActions row={row} expanded={expanded} />}
|
||||
</HStack>
|
||||
<HStack gap={1.5} vAlign="center">
|
||||
<AccentAvatar color={BRAND} selected size={36}>
|
||||
<Text weight="bold">{(row.displayname || row.authname || '?').charAt(0).toUpperCase()}</Text>
|
||||
</AccentAvatar>
|
||||
<VStack gap={0} padding={0} minWidth={0}>
|
||||
<Text weight="bold" maxLines={1}>
|
||||
{row.displayname || row.authname || '—'}
|
||||
</Text>
|
||||
<Text type="supporting" color="secondary" maxLines={1}>
|
||||
{row.phone || '—'}
|
||||
</Text>
|
||||
</VStack>
|
||||
</HStack>
|
||||
<VStack gap={0} padding={0} minWidth={0}>
|
||||
<Text weight="bold" maxLines={1}>
|
||||
{row.displayname || row.authname || '—'}
|
||||
</Text>
|
||||
<Text type="supporting" color="secondary" maxLines={1}>
|
||||
{row.phone || '—'}
|
||||
</Text>
|
||||
</VStack>
|
||||
</VStack>
|
||||
}
|
||||
>
|
||||
@@ -882,7 +877,7 @@ const Riders = () => {
|
||||
<Table density="balanced" dividers="rows" hasHover>
|
||||
<TableHeader>
|
||||
<TableRow>
|
||||
<TableHeaderCell>#</TableHeaderCell>
|
||||
<TableHeaderCell style={{ minWidth: 40, width: 40, maxWidth: 40 }}>#</TableHeaderCell>
|
||||
<TableHeaderCell>ID</TableHeaderCell>
|
||||
<TableHeaderCell>Rider</TableHeaderCell>
|
||||
<TableHeaderCell>Address</TableHeaderCell>
|
||||
@@ -944,19 +939,14 @@ const Riders = () => {
|
||||
</div>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<HStack gap={1.5} vAlign="center">
|
||||
<AccentAvatar color={BRAND} selected size={36}>
|
||||
<Text weight="bold">{(row.displayname || row.authname || '?').charAt(0).toUpperCase()}</Text>
|
||||
</AccentAvatar>
|
||||
<VStack gap={0} padding={0} minWidth={0}>
|
||||
<Text weight="semibold" style={{ whiteSpace: 'nowrap' }}>
|
||||
{row.displayname || row.authname || '—'}
|
||||
</Text>
|
||||
<Text type="supporting" color="secondary">
|
||||
{row.phone || '—'}
|
||||
</Text>
|
||||
</VStack>
|
||||
</HStack>
|
||||
<VStack gap={0} padding={0} minWidth={0}>
|
||||
<Text weight="semibold" style={{ whiteSpace: 'nowrap' }}>
|
||||
{row.displayname || row.authname || '—'}
|
||||
</Text>
|
||||
<Text type="supporting" color="secondary">
|
||||
{row.phone || '—'}
|
||||
</Text>
|
||||
</VStack>
|
||||
</TableCell>
|
||||
<TableCell style={{ maxWidth: 220 }}>
|
||||
<Tooltip content={row.address || ''}>
|
||||
|
||||
Reference in New Issue
Block a user