mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Let all the new CollectionModels use AbstractCollectionModel
This commit is contained in:
parent
086a2c1927
commit
71f6fb25e5
5 changed files with 39 additions and 44 deletions
|
|
@ -1,13 +1,10 @@
|
|||
import { AbstractCollectionModel } from 'Model/AbstractCollection';
|
||||
import { EmailModel } from 'Model/Email';
|
||||
|
||||
'use strict';
|
||||
|
||||
class EmailCollectionModel extends Array
|
||||
export class EmailCollectionModel extends AbstractCollectionModel
|
||||
{
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {?Array} json
|
||||
* @returns {EmailCollectionModel}
|
||||
|
|
@ -45,5 +42,3 @@ class EmailCollectionModel extends Array
|
|||
return result.join(', ');
|
||||
}
|
||||
}
|
||||
|
||||
export { EmailCollectionModel, EmailCollectionModel as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue