default cipher type data objects
This commit is contained in:
parent
df94d81d07
commit
cae8beaa8f
|
@ -8,6 +8,9 @@
|
||||||
$scope.selectedType = constants.cipherType.login.toString();
|
$scope.selectedType = constants.cipherType.login.toString();
|
||||||
$scope.cipher = {
|
$scope.cipher = {
|
||||||
type: constants.cipherType.login,
|
type: constants.cipherType.login,
|
||||||
|
login: {},
|
||||||
|
identity: {},
|
||||||
|
card: {},
|
||||||
secureNote: {
|
secureNote: {
|
||||||
type: '0'
|
type: '0'
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
folderId: selectedFolder ? selectedFolder.id : null,
|
folderId: selectedFolder ? selectedFolder.id : null,
|
||||||
favorite: checkedFavorite === true,
|
favorite: checkedFavorite === true,
|
||||||
type: constants.cipherType.login,
|
type: constants.cipherType.login,
|
||||||
|
login: {},
|
||||||
|
identity: {},
|
||||||
|
card: {},
|
||||||
secureNote: {
|
secureNote: {
|
||||||
type: '0'
|
type: '0'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue