From 8a76714131364deeea6a6c532bb169c4edb64460 Mon Sep 17 00:00:00 2001 From: Steve Van Opstal Date: Tue, 13 Dec 2016 16:30:08 +0100 Subject: [PATCH] feat(preview): preview the last picked item --- src/client/build/shop/shop.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/build/shop/shop.component.ts b/src/client/build/shop/shop.component.ts index 10079c4..73678b4 100644 --- a/src/client/build/shop/shop.component.ts +++ b/src/client/build/shop/shop.component.ts @@ -110,6 +110,7 @@ export class ShopComponent implements OnInit { } pickItem(item: Item) { + this.selectedItem = item; this.itemPicked.emit(item); return false; // stop context menu from appearing }