Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/api/unified-transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const UNIFIED_TX_FIELDS = `
}
timestamp
amount
fee
status
detail_id
from {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export const UNIFIED_LIST_TRANSACTION_COLUMNS = [
address={id}
href={`${RESOURCES.accounts}/${id}`}
text={formatTxAddress(id)}
className="font-mono text-muted-text"
/>
);
},
Expand All @@ -100,7 +99,6 @@ export const UNIFIED_LIST_TRANSACTION_COLUMNS = [
address={id}
href={`${RESOURCES.accounts}/${id}`}
text={formatTxAddress(id)}
className="font-mono text-muted-text"
/>
);
},
Expand All @@ -117,21 +115,6 @@ export const UNIFIED_LIST_TRANSACTION_COLUMNS = [
},
enableSorting: true
}),
columnHelper.accessor('fee', {
id: 'fee',
header: 'Fee',
cell: (props) => {
const value = props.getValue();
if (value == null)
return <span className="font-mono text-muted-text">—</span>;
return (
<span className="numeric text-muted-text">
{formatMonetaryValue(value, 5)}
</span>
);
},
enableSorting: true
}),
columnHelper.accessor('status', {
id: 'status',
header: 'Status',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const getSharedMultisigConfigurationFields = (): MultisigCreatedField[] => [
<AccountAddressCell
address={creatorId}
href={`${RESOURCES.accounts}/${creatorId}`}
truncate={false}
/>
) : (
<EmptyValue />
Expand All @@ -67,6 +68,7 @@ const getSharedMultisigConfigurationFields = (): MultisigCreatedField[] => [
key={signer}
address={signer}
href={`${RESOURCES.accounts}/${signer}`}
truncate={false}
/>
))}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ export const MultisigDetailDataTabs: React.FC<Props> = ({ walletId }) => {

const handleTabChange = (value: string) => {
const nextTab = value as MultisigDetailTab;
void setPage(1);
void setOrderBy(null);
void navigate({
setPage(1);
setOrderBy(null);
navigate({
to: '/multisig/$id',
params: { id },
search: {
tab: nextTab,
status: nextTab === 'proposals' ? status : 'all'
}
},
resetScroll: false
});
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ export const MultisigDetailStatusFilter: React.FC = () => {
});

const handleStatusChange = (nextStatus: MultisigProposalStatusFilter) => {
void setPage(1);
void navigate({
setPage(1);
navigate({
to: '/multisig/$id',
params: { id },
search: {
tab: tab ?? 'proposals',
status: nextStatus
}
},
resetScroll: false
});
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/features/multisig-details/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import useApiClient from '@/api';
import { ContentContainer } from '@/components/ui/content-container';
import { SectionContainer } from '@/components/ui/section-container';

import { MultisigDetailDataTabs } from './MultisigDetailDataTabs';
import { MultisigInformation } from './multisig-information/MultisigInformation';
import { MultisigDetailDataTabs } from './MultisigDetailDataTabs';

interface Props {
id: string;
Expand Down
Loading