mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
Bump to valitydev/damsel@698c7d2 (#208)
This commit is contained in:
parent
b7881cfa3b
commit
59668c8250
14
package-lock.json
generated
14
package-lock.json
generated
@ -29,7 +29,7 @@
|
||||
"@s-libs/ng-core": "15.0.0",
|
||||
"@s-libs/rxjs-core": "15.0.0",
|
||||
"@vality/deanonimus-proto": "2.0.1-2a3d5ad.0",
|
||||
"@vality/domain-proto": "2.0.1-2d6fd01.0",
|
||||
"@vality/domain-proto": "2.0.1-698c7d2.0",
|
||||
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
|
||||
"@vality/fistful-proto": "2.0.1-4ff4ea3.0",
|
||||
"@vality/magista-proto": "2.0.1-cf0eff8.0",
|
||||
@ -5153,9 +5153,9 @@
|
||||
"integrity": "sha512-p/kR6o1mTWatvzpltDbSzJjRiA75ph8N5CZm5FTa+5ZgGer9pSN4sZhRGJj/iIfZkXZuVNZp9kisS+4+QKx13A=="
|
||||
},
|
||||
"node_modules/@vality/domain-proto": {
|
||||
"version": "2.0.1-2d6fd01.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-2d6fd01.0.tgz",
|
||||
"integrity": "sha512-bw/hUo9bQmDiVpzjGJ7L5/GxiuOHAe/H7ubpM2FMAapY9S3eOhGMfJ0bj36HPP3EZsNHZMY2QkocD/4Pwfj/kA=="
|
||||
"version": "2.0.1-698c7d2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-698c7d2.0.tgz",
|
||||
"integrity": "sha512-tt9AU+haIySRsP8H3dz54XXp6eZSbuR0ME3lRZfFOZbsx6NadkHEJt4eVtEFYxc5V76gBw4uxtxJDfUz/UDOrA=="
|
||||
},
|
||||
"node_modules/@vality/dominant-cache-proto": {
|
||||
"version": "2.0.1-99f38c9.0",
|
||||
@ -22844,9 +22844,9 @@
|
||||
"integrity": "sha512-p/kR6o1mTWatvzpltDbSzJjRiA75ph8N5CZm5FTa+5ZgGer9pSN4sZhRGJj/iIfZkXZuVNZp9kisS+4+QKx13A=="
|
||||
},
|
||||
"@vality/domain-proto": {
|
||||
"version": "2.0.1-2d6fd01.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-2d6fd01.0.tgz",
|
||||
"integrity": "sha512-bw/hUo9bQmDiVpzjGJ7L5/GxiuOHAe/H7ubpM2FMAapY9S3eOhGMfJ0bj36HPP3EZsNHZMY2QkocD/4Pwfj/kA=="
|
||||
"version": "2.0.1-698c7d2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-698c7d2.0.tgz",
|
||||
"integrity": "sha512-tt9AU+haIySRsP8H3dz54XXp6eZSbuR0ME3lRZfFOZbsx6NadkHEJt4eVtEFYxc5V76gBw4uxtxJDfUz/UDOrA=="
|
||||
},
|
||||
"@vality/dominant-cache-proto": {
|
||||
"version": "2.0.1-99f38c9.0",
|
||||
|
@ -43,7 +43,7 @@
|
||||
"@s-libs/ng-core": "15.0.0",
|
||||
"@s-libs/rxjs-core": "15.0.0",
|
||||
"@vality/deanonimus-proto": "2.0.1-2a3d5ad.0",
|
||||
"@vality/domain-proto": "2.0.1-2d6fd01.0",
|
||||
"@vality/domain-proto": "2.0.1-698c7d2.0",
|
||||
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
|
||||
"@vality/fistful-proto": "2.0.1-4ff4ea3.0",
|
||||
"@vality/magista-proto": "2.0.1-cf0eff8.0",
|
||||
|
@ -65,7 +65,9 @@ export class ThriftEditorComponent<T> extends ValidatedFormControlSuperclass<T>
|
||||
fileChange($event: MonacoFile) {
|
||||
try {
|
||||
this.editorError = null;
|
||||
this.control.setValue($event.content as T);
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const parsed = JSON.parse($event.content);
|
||||
this.control.setValue(parsed as T);
|
||||
} catch (err) {
|
||||
console.warn(err);
|
||||
this.editorError = err;
|
||||
|
Loading…
Reference in New Issue
Block a user