File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed
src/renderer/src/components/Modules/NethVoice/LastCalls Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 2424 "publish:minor" : " npm version minor --allow-same-version -m v%s --force" ,
2525 "publish:major" : " npm version major --allow-same-version -m v%s --force" ,
2626 "publish:patch" : " npm version patch --allow-same-version -m v%s --force" ,
27+ "publish:build" : " npm version prepatch --allow-same-version -m v%s --force" ,
28+ "publish:git" : " npm version from-git --allow-same-version -m v%s --force" ,
2729 "postversion" : " git add . && git push --follow-tags && git push --tags" ,
28- "build" : " rm -rf out && rm -rf dist && npm run typecheck && electron-vite build" ,
29- "build:w" : " del /s /q out && del /s /q dist && npm run typecheck && electron-vite build" ,
30+ "build" : " rm -rf out && rm -rf dist && npm run typecheck && npm run publish:build && electron-vite build" ,
31+ "build:w" : " del /s /q out && del /s /q dist && npm run typecheck && npm run publish:build && electron-vite build" ,
3032 "postinstall" : " electron-builder install-app-deps" ,
3133 "build:unpack" : " npm run build && electron-builder --dir" ,
3234 "build:win" : " npm run build:w && electron-builder --win" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,30 @@ export function LastCallsBox({ showContactForm }): JSX.Element {
3434
3535 const prepareCalls = ( ) => {
3636 if ( lastCalls ) {
37- const preparedCalls : LastCallData [ ] = lastCalls . map ( ( c ) => {
37+ const preparedCalls : LastCallData [ ] = [ {
38+ "time" : 1728927627 ,
39+ "channel" : "Local/252@from-queue-00000135;2" ,
40+ "dstchannel" : "PJSIP/92252-000003fb" ,
41+ "uniqueid" : "1728920427.9868" ,
42+ "linkedid" : "1728920413.9859" ,
43+ "userfield" : "" ,
44+ "duration" : 124 ,
45+ "billsec" : 118 ,
46+ "disposition" : "ANSWERED" ,
47+ "dcontext" : "from-queue-exten-only" ,
48+ "lastapp" : "Dial" ,
49+ "recordingfile" : "" ,
50+ "cnum" : "3927329351" ,
51+ "cnam" : "Alvaro Conforti" ,
52+ "ccompany" : "BURRESI & FOSSATI SAS" ,
53+ "src" : "3927329351" ,
54+ "dst" : "252" ,
55+ "dst_cnam" : "" ,
56+ "dst_ccompany" : "" ,
57+ "clid" : "\"RIV:Alvaro Conforti (BURRESI & FOSSATI SAS)\" <3927329351>" ,
58+ "direction" : "in" ,
59+ "queue" : "401"
60+ } , ...lastCalls ] . map ( ( c ) => {
3861 const elem : LastCallData = {
3962 ...c ,
4063 username : getCallName ( c ) ,
You can’t perform that action at this time.
0 commit comments