From c643a9b97735c04d3a724beb55546db9ec50c470 Mon Sep 17 00:00:00 2001 From: Andrej Date: Mon, 20 May 2024 10:59:16 +0200 Subject: [PATCH] Fix project folder id display [SCI-10721] --- app/serializers/lists/project_and_folder_serializer.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/serializers/lists/project_and_folder_serializer.rb b/app/serializers/lists/project_and_folder_serializer.rb index 7d513dd3f..c150dade2 100644 --- a/app/serializers/lists/project_and_folder_serializer.rb +++ b/app/serializers/lists/project_and_folder_serializer.rb @@ -31,11 +31,7 @@ module Lists end def code - if project? - object.code - else - "F#{object.id}" # We don't have proper code for folders, but we need to correct selection - end + object.code end def created_at