From 9fcbd5c9eda8ad5adfd678f94a46b72e2bcc4386 Mon Sep 17 00:00:00 2001 From: p31729568 Date: Sat, 13 Jul 2019 17:08:09 +0800 Subject: [PATCH] fix --- app/api/mobile/entities/project_package.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/mobile/entities/project_package.rb b/app/api/mobile/entities/project_package.rb index 9871dcef..278e9b85 100644 --- a/app/api/mobile/entities/project_package.rb +++ b/app/api/mobile/entities/project_package.rb @@ -70,7 +70,7 @@ module Mobile { can_bidding: package.can_bidding?(user), - can_select_bidding_user: package.bidding_end? && package.end_bidding? && (is_creator || is_admin), + can_select_bidding_user: package.bidding_end? && package.bidding_ended? && (is_creator || is_admin), can_edit: package.editable? && (is_creator || is_admin), can_delete: package.deletable? && (is_creator || is_admin) }