From 8691ca0453613c5c948a9491829d91fafd65cccb Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 30 Aug 2020 10:47:38 +0200 Subject: [PATCH] fix(OrganizationList): external open --- src/views/Admin/OrganizationList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/Admin/OrganizationList.vue b/src/views/Admin/OrganizationList.vue index 83d085d..fb96384 100644 --- a/src/views/Admin/OrganizationList.vue +++ b/src/views/Admin/OrganizationList.vue @@ -688,7 +688,10 @@ export default { openExternal (item) { let queryStr = '' - if (item.validationState === 'pending') { + if ( + item.lastPublished == null || + item.validationState === 'pending' + ) { queryStr = '?version=proposed' }