mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Fix default state for archived repository [SCI-8435] (#5493)
This commit is contained in:
parent
6ce9e41c2f
commit
8d70fcf322
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
<%= render partial: 'shared/state_view_switch', locals: {
|
||||
disabled: @repository.archived?,
|
||||
switchable: true,
|
||||
archived: params[:archived],
|
||||
archived: params[:archived] || @repository.archived?,
|
||||
active_url: repository_path(@repository),
|
||||
archived_url: repository_path(@repository, archived: true),
|
||||
} %>
|
||||
|
|
Loading…
Reference in a new issue