Skip to content

Commit

Permalink
Merge pull request #537 from frappe/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik authored Jan 22, 2025
2 parents 7e81a16 + baa1770 commit 8d14316
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Set Image Tag
run: |
echo "IMAGE_TAG=${{ github.ref_name == 'develop' && 'latest' || 'v15' }}" >> $GITHUB_ENV
echo "STABLE_TAG=${{ github.ref_name == 'develop' && 'nightly' || 'stable' }}" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
Expand All @@ -60,7 +61,9 @@ jobs:
file: builds/images/layered/Containerfile
tags: >
ghcr.io/${{ github.repository }}:${{ github.ref_name }},
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }},
ghcr.io/${{ github.repository }}:${{ env.STABLE_TAG }}
build-args: |
"FRAPPE_BRANCH=${{ env.FRAPPE_BRANCH }}"
"APPS_JSON_BASE64=${{ env.APPS_JSON_BASE64 }}"
17 changes: 10 additions & 7 deletions frontend/src/components/Telephony/ExotelCallUI.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ import { ref, onBeforeUnmount, watch, nextTick } from 'vue'
import { useRouter } from 'vue-router'
const { $socket } = globalStore()
const { user } = sessionStore()
const callPopupHeader = ref(null)
const showCallPopup = ref(false)
Expand Down Expand Up @@ -298,11 +297,14 @@ const getContact = createResource({
},
})
watch(phoneNumber, (value) => {
if (!value) return
getContact.fetch()
}, { immediate: true })
watch(
phoneNumber,
(value) => {
if (!value) return
getContact.fetch()
},
{ immediate: true },
)
const dirty = ref(false)
Expand Down Expand Up @@ -427,12 +429,13 @@ function setup() {
console.log(data)
callStatus.value = updateStatus(data)
const { user } = sessionStore()
if (
!showCallPopup.value &&
!showSmallCallPopup.value &&
data.AgentEmail &&
data.AgentEmail == user.value
data.AgentEmail == (user || user.value)
) {
phoneNumber.value = data.CallTo || data.To
showCallPopup.value = true
Expand Down

0 comments on commit 8d14316

Please sign in to comment.