chore: reserve api_key_secret and update voice UI

This commit is contained in:
Muhsin
2026-04-01 14:22:50 +04:00
parent 987d4d4a01
commit dfdfc669ea
3 changed files with 12 additions and 6 deletions
@@ -33,8 +33,15 @@ export default {
hasApiKeySid() {
return !!this.inbox.api_key_sid;
},
hasExistingCredentials() {
return this.hasApiKeySid;
},
needsCredentials() {
return this.voiceEnabled && !this.isVoiceConfigured;
return (
this.voiceEnabled &&
!this.isVoiceConfigured &&
!this.hasExistingCredentials
);
},
needsApiKeySid() {
return this.needsCredentials && !this.hasApiKeySid;