diff --git a/TESTDATA.md b/TESTDATA.md index 2d3f65a4..b7bbd026 100644 --- a/TESTDATA.md +++ b/TESTDATA.md @@ -67,10 +67,10 @@ Should be created using an xmpp client authenticating as subscribers, but have n ## MOCK DATA -You can also use mock data in src/api/conversations.js, replacing the resolve() with this: +You can also use mock data in src/api/conversations.js, replacing the jsonBody variable with this: ` -resolve( +let jsonBody = getJsonBody( { "_embedded": { "ngcp:conversations": [ @@ -157,5 +157,5 @@ resolve( }, "total_count": 4 } -); +) ` diff --git a/src/components/Login.vue b/src/components/Login.vue index 4760c042..cf2b28ee 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -11,7 +11,7 @@ + autofocus clearable v-model="username" @keyup.enter="login()"/> - - {{ $t('pages.conversations.buttons.call') }} + + {{ $t('pages.conversations.buttons.call') }} + + + + {{ $t('pages.conversations.buttons.audioCall') }} + + + {{ $t('pages.conversations.buttons.videoCall') }} + + + + @@ -24,8 +37,8 @@