Skip to content

Commit 845f9a4

Browse files
committed
Only show syncer if iterated
1 parent 2ae12b2 commit 845f9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/tracks/exercises/show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
= render "tracks/exercises/show/action_box_locked", exercise: @exercise, user_track: @user_track
3232
- else
3333
= render "tracks/exercises/show/action_box_locked_by_hello_world", exercise: @exercise, user_track: @user_track, track: @track
34-
- if @solution && current_user.admin?
34+
- if @solution&.iterated? && current_user.insider?
3535
.bg-backgroundColorA.shadow-lg.rounded-8
3636
= render ReactComponents::Student::GithubSolutionSyncerWidget.new(@solution)
3737

0 commit comments

Comments
 (0)