-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8820 from nextcloud/fix/selectable-erroneous-account
Make erroneous mail accounts not selectable in composer modal
- Loading branch information
Showing
8 changed files
with
184 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,14 @@ describe('Composer', () => { | |
propsData: { | ||
inReplyToMessageId: 'abc123', | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
store, | ||
localVue, | ||
|
@@ -83,6 +91,14 @@ describe('Composer', () => { | |
propsData: { | ||
inReplyToMessageId: 'abc123', | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
store, | ||
localVue, | ||
|
@@ -101,6 +117,14 @@ describe('Composer', () => { | |
{ label: 'test', email: '[email protected]' }, | ||
], | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
store, | ||
localVue, | ||
|
@@ -115,6 +139,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
computed: { | ||
smimeCertificateForCurrentAlias() { | ||
|
@@ -136,6 +168,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
computed: { | ||
smimeCertificateForCurrentAlias() { | ||
|
@@ -157,6 +197,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
computed: { | ||
smimeCertificateForCurrentAlias() { | ||
|
@@ -178,6 +226,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
computed: { | ||
smimeCertificateForCurrentAlias() { | ||
|
@@ -202,6 +258,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
computed: { | ||
smimeCertificateForCurrentAlias() { | ||
|
@@ -226,6 +290,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
store, | ||
localVue, | ||
|
@@ -248,6 +320,14 @@ describe('Composer', () => { | |
const view = shallowMount(Composer, { | ||
propsData: { | ||
isFirstOpen: true, | ||
accounts: [ | ||
{ | ||
id: 123, | ||
editorMode: 'plaintext', | ||
isUnified: false, | ||
aliases: [], | ||
}, | ||
], | ||
}, | ||
store, | ||
localVue, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters