mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +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)}
|
primary={getDisplayByNumber(call.receiver)}
|
||||||
secondary={
|
secondary={
|
||||||
// TODO: Locale changes are pending #168 merge
|
// 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>
|
<IconButton onClick={() => handleCall(call.receiver)}>{<PhoneIcon />}</IconButton>
|
||||||
@@ -92,7 +92,7 @@ export const DialerHistory = ({ calls }) => {
|
|||||||
primary={getDisplayByNumber(call.transmitter)}
|
primary={getDisplayByNumber(call.transmitter)}
|
||||||
secondary={
|
secondary={
|
||||||
// TODO: Locale changes are pending #168 merge
|
// 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)}>
|
<IconButton onClick={() => handleCall(call.transmitter)}>
|
||||||
|
|||||||
+2
-2
@@ -13,9 +13,9 @@ export interface CallHistoryItem {
|
|||||||
transmitterSource?: number;
|
transmitterSource?: number;
|
||||||
receiver: string;
|
receiver: string;
|
||||||
receiverSource?: number;
|
receiverSource?: number;
|
||||||
start: number;
|
start: string;
|
||||||
end?: number;
|
end?: number;
|
||||||
accepted: boolean;
|
is_accepted: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum CallEvents {
|
export enum CallEvents {
|
||||||
|
|||||||
Reference in new issue
Block a user