mirror of
https://github.com/jambonz/chrome-extension-dialer.git
synced 2026-10-04 02:04:28 +00:00
fixed
This commit is contained in:
@@ -85,15 +85,14 @@ export const CallHistoryItem = ({
|
|||||||
{dayjs(call.timeStamp).format("MMM D, hh:mm A")}
|
{dayjs(call.timeStamp).format("MMM D, hh:mm A")}
|
||||||
</Text>
|
</Text>
|
||||||
</VStack>
|
</VStack>
|
||||||
<Tooltip
|
<Tooltip label={isSaved && call.isSaved ? "Delete" : "Save"}>
|
||||||
label={
|
|
||||||
isSaved && call.isSaved ? "Delete" : call.isSaved ? "Unsaved" : "Save"
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
aria-label="save recents"
|
aria-label="save recents"
|
||||||
icon={isSaved && call.isSaved ? <Trash2 /> : <Save />}
|
icon={isSaved && call.isSaved ? <Trash2 /> : <Save />}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
if (!isSaved && call.isSaved) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const settings = getSettings();
|
const settings = getSettings();
|
||||||
if (settings.sipUsername) {
|
if (settings.sipUsername) {
|
||||||
isSaveCallHistory(
|
isSaveCallHistory(
|
||||||
|
|||||||
Reference in New Issue
Block a user