From 0736a027411dd0162afc4a0c895c4df4ec92ce47 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 9 Dec 2022 12:56:24 +0100 Subject: [PATCH] Fix protocol id on task page [SCI-7583] --- app/views/my_modules/protocols/_protocol_status_bar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my_modules/protocols/_protocol_status_bar.html.erb b/app/views/my_modules/protocols/_protocol_status_bar.html.erb index 6515860b2..f7a197360 100644 --- a/app/views/my_modules/protocols/_protocol_status_bar.html.erb +++ b/app/views/my_modules/protocols/_protocol_status_bar.html.erb @@ -20,7 +20,7 @@ <%= @protocol.parent&.name || @protocol.name %>
- ID: <%= @protocol.code %> + ID: <%= @protocol.parent&.code || @protocol.code %>