Skip to content

Commit

Permalink
提出物がWIPであるアラートが提出者本人にのみ表示されるよう条件を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
junohm410 committed Dec 7, 2023
1 parent 695d68d commit 90c7ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/products/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ header.page-header
- if @product.user == current_user && [email protected]? && [email protected]? && @product.commented_users.mentor.empty?
= render 'message_for_after_submission'

- if @product.wip?
- if @product.user == current_user && @product.wip?
= render 'message_for_wip'

- if @product.user == current_user && @learning&.complete?
Expand Down

0 comments on commit 90c7ae1

Please sign in to comment.