From 433258904e7755509989d429ed217ed84a3ec313 Mon Sep 17 00:00:00 2001 From: peterpeterparker Date: Mon, 17 Feb 2020 13:01:21 +0100 Subject: [PATCH] fix(#610): select deckgo-dnr component Signed-off-by: peterpeterparker --- .../actions/element/app-actions-element/app-actions-element.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx b/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx index 045a7bcb4..453118fce 100644 --- a/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx +++ b/studio/src/app/components/editor/actions/element/app-actions-element/app-actions-element.tsx @@ -164,7 +164,7 @@ export class AppActionsElement { await this.initSelectedElement(selected); // In case of slot deckgo-lazy-img, if user doesn't have yet defined a src for the image, we display the image picker/popover first instead of the toolbar - if (this.isImgNotDefined(element)) { + if (this.isImgNotDefined(selected)) { await this.openImage(); }