Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/cc queues timeout switcher #559

Merged
merged 3 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/locale/en/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ export default {
statisticTime: 'Recalculation interval',
communications: 'Communication type',
manualDistribution: 'Manual distribution',
timeoutFromTheLastMessage: 'Timeout from the last message',
lastMessageTimeout: 'Timeout from the last message',
processing: {
processing: 'Processing',
enabled: 'Waiting for call result',
Expand Down
2 changes: 1 addition & 1 deletion src/app/locale/ru/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ export default {
statisticTime: 'Интервал пересчета',
communications: 'Тип связи',
manualDistribution: 'Ручное распределение',
timeoutFromTheLastMessage: 'Время ожидания от последнего сообщения',
lastMessageTimeout: 'Время ожидания от последнего сообщения',
processing: {
processing: 'Обработка',
enabled: 'Ожидание результата задачи',
Expand Down
2 changes: 1 addition & 1 deletion src/app/locale/ua/ua.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ export default {
statisticTime: 'Інтервал перерахунку',
communications: 'Тип зв\'язку',
manualDistribution: 'Ручне розподілення',
timeoutFromTheLastMessage: 'Час очікування від останнього повідомлення',
lastMessageTimeout: 'Час очікування від останнього повідомлення',
processing: {
processing: 'Обробка',
enabled: 'Очікування результату задачі',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@
@change="setItemPayloadProp({ prop: 'manualDistribution', value: $event })"
/>
<wt-switcher
v-if="specificControls.timeoutFromTheLastMessage"
v-if="specificControls.lastMessageTimeout"
:disabled="disableUserInput"
:label="$t('objects.ccenter.queues.timeoutFromTheLastMessage')"
:value="itemInstance.payload.timeoutFromTheLastMessage"
@change="setItemPayloadProp({ prop: 'timeoutFromTheLastMessage', value: $event })"
:label="$t('objects.ccenter.queues.lastMessageTimeout')"
:value="itemInstance.payload.lastMessageTimeout"
@change="setItemPayloadProp({ prop: 'lastMessageTimeout', value: $event })"
/>
</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const QueueTypeProperties = Object.freeze({
'stickyAgentSec',
'minOnlineAgents',
'manualDistribution',
'timeoutFromTheLastMessage',
'lastMessageTimeout',

// processing specific
'taskProcessing.enabled',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const chatInboundQueue = () => ({
maxWaitingSize: 0,
minOnlineAgents: 0,
manualDistribution: false,
timeoutFromTheLastMessage: false,
lastMessageTimeout: false,
},
});

Expand Down