From d9055abca90f2644368048991f285657fc0672ee Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 9 May 2022 14:44:30 +0200 Subject: [PATCH] fix(entry_summary): get entry.id --- modules/entry/front/summary/index.html | 2 +- modules/entry/front/summary/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/entry/front/summary/index.html b/modules/entry/front/summary/index.html index f443a94fe..a95b2f18a 100644 --- a/modules/entry/front/summary/index.html +++ b/modules/entry/front/summary/index.html @@ -1,6 +1,6 @@ diff --git a/modules/entry/front/summary/index.js b/modules/entry/front/summary/index.js index c949dba64..6e18bc959 100644 --- a/modules/entry/front/summary/index.js +++ b/modules/entry/front/summary/index.js @@ -4,6 +4,9 @@ import Summary from 'salix/components/summary'; class Controller extends Summary { get entry() { + if (!this._entry) + return this.$params; + return this._entry; } -- 2.40.1