mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
fix(dialer/ui): fix type
This commit is contained in:
1 parent
b1b412b81e
commit
eb5b907091
2 files changed
+4
-4
No files matched your search
@@ -67,7 +67,7 @@ export const DialerHistory = ({ calls }) => {
|
||||
primary={getDisplayByNumber(call.receiver)}
|
||||
secondary={
|
||||
// TODO: Locale changes are pending #168 merge
|
||||
dayjs().to(dayjs.unix(call.start))
|
||||
dayjs().to(dayjs.unix(parseInt(call.start)))
|
||||
}
|
||||
/>
|
||||
<IconButton onClick={() => handleCall(call.receiver)}>{<PhoneIcon />}</IconButton>
|
||||
@@ -92,7 +92,7 @@ export const DialerHistory = ({ calls }) => {
|
||||
primary={getDisplayByNumber(call.transmitter)}
|
||||
secondary={
|
||||
// TODO: Locale changes are pending #168 merge
|
||||
dayjs().to(dayjs.unix(call.start))
|
||||
dayjs().to(dayjs.unix(parseInt(call.start)))
|
||||
}
|
||||
/>
|
||||
<IconButton onClick={() => handleCall(call.transmitter)}>
|
||||
|
||||
+2
-2
@@ -13,9 +13,9 @@ export interface CallHistoryItem {
|
||||
transmitterSource?: number;
|
||||
receiver: string;
|
||||
receiverSource?: number;
|
||||
start: number;
|
||||
start: string;
|
||||
end?: number;
|
||||
accepted: boolean;
|
||||
is_accepted: number;
|
||||
}
|
||||
|
||||
export enum CallEvents {
|
||||
|
||||
Reference in new issue
Block a user