Skip to content

Commit d235a7b

Browse files
committed
fix: set picture item perspective via gRPC
1 parent 15985e1 commit d235a7b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/app/moder/pictures/item/move/item/item.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<button
66
class="btn btn-link d-block text-start"
77
*ngIf="item.item.childs_count <= 0"
8-
(click)="selectItem({itemId: '' + item.item_id, perspectiveId: 0, type: PictureItemType.PICTURE_CONTENT})"
8+
(click)="selectItem({itemId: '' + item.item_id, perspectiveId: 0, type: PictureItemType.PICTURE_ITEM_CONTENT})"
99
[innerHTML]="item.item.name_html"
1010
></button>
1111
<div *ngIf="item.item.childs_count > 0">
@@ -23,7 +23,7 @@
2323
</ng-container>
2424
<button
2525
class="btn btn-link d-block text-start"
26-
(click)="selectItem({itemId: '' + item.item_id, perspectiveId: 0, type: PictureItemType.PICTURE_CONTENT})"
26+
(click)="selectItem({itemId: '' + item.item_id, perspectiveId: 0, type: PictureItemType.PICTURE_ITEM_CONTENT})"
2727
i18n
2828
>
2929
other modification

src/app/moder/pictures/item/move/move.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ <h5 *ngIf="engines && engines.items.length > 0" i18n>Engines</h5>
260260
(click)="
261261
selectItem({
262262
src,
263-
selection: {itemId: brandId, perspectiveId: 22, type: PictureItemType.PICTURE_CONTENT},
263+
selection: {itemId: brandId, perspectiveId: 22, type: PictureItemType.PICTURE_ITEM_CONTENT},
264264
})
265265
"
266266
i18n
@@ -272,7 +272,7 @@ <h5 *ngIf="engines && engines.items.length > 0" i18n>Engines</h5>
272272
(click)="
273273
selectItem({
274274
src,
275-
selection: {itemId: brandId, perspectiveId: 25, type: PictureItemType.PICTURE_CONTENT},
275+
selection: {itemId: brandId, perspectiveId: 25, type: PictureItemType.PICTURE_ITEM_CONTENT},
276276
})
277277
"
278278
i18n
@@ -284,7 +284,7 @@ <h5 *ngIf="engines && engines.items.length > 0" i18n>Engines</h5>
284284
(click)="
285285
selectItem({
286286
src,
287-
selection: {itemId: brandId, perspectiveId: 0, type: PictureItemType.PICTURE_CONTENT},
287+
selection: {itemId: brandId, perspectiveId: 0, type: PictureItemType.PICTURE_ITEM_CONTENT},
288288
})
289289
"
290290
i18n

0 commit comments

Comments
 (0)