Added Voice Functionality
[KolmisoftMore] implemented getActiveCalls function [menu.php] added menu point for active voice calls [config.sample.php] added KOLMISOFT configuration constants [VoiceCallActive] implemented active voice calls view [VoiceCallHistoryController] fixed importCallsFromToday Time [tt-table] fixed pagination displays
This commit is contained in:
@@ -77,8 +77,9 @@ include(realpath(dirname(__FILE__) . "/../../$mfLayoutPackage") . "/header.php")
|
||||
methods: {
|
||||
async importCallsFromToday() {
|
||||
this.importCallsFromTodayLoading = true;
|
||||
await axios.get(window['TT_CONFIG']['VOICE_CALL_HISTORY_API_URL'] + '?do=importCallsFromToday');
|
||||
this.$refs.table.fetchData();
|
||||
const response = await axios.get(window['TT_CONFIG']['VOICE_CALL_HISTORY_API_URL'] + '?do=importCallsFromToday');
|
||||
window.notify(response.data.status === 'success' ? 'success' : 'error', response.data.message);
|
||||
await this.$refs.table.fetchData();
|
||||
this.importCallsFromTodayLoading = false;
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user