|
|
|
@ -248,6 +248,16 @@ class DataItem {
|
|
|
|
|
return ["removed", "ignore"].includes(this.state);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**Returns whether the user data is created and not saved yet.
|
|
|
|
|
* @returns {boolean}
|
|
|
|
|
* <ul><li>true if the user data is new</li>
|
|
|
|
|
* <li>false otherwise</li>
|
|
|
|
|
* </ul>
|
|
|
|
|
*/
|
|
|
|
|
isNew() {
|
|
|
|
|
return "added" == this.state;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**Toggles the selection status.
|
|
|
|
|
* @returns {boolean} current selection status
|
|
|
|
|
* <ul><li>true if the user data is selected</li>
|
|
|
|
|