mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-17 14:19:05 +08:00
hound fix
This commit is contained in:
parent
379ef7a9cc
commit
5cd32d5cfa
3 changed files with 113 additions and 116 deletions
|
|
@ -143,6 +143,7 @@
|
|||
flex-direction: column;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
.dataTables_scroll {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -42,9 +42,7 @@ module Toolbars
|
|||
end
|
||||
|
||||
def duplicate_action
|
||||
return unless @repository
|
||||
|
||||
return unless can_create_repositories?(@current_team)
|
||||
return unless @repository && can_create_repositories?(@current_team)
|
||||
|
||||
{
|
||||
name: 'duplicate',
|
||||
|
|
@ -71,9 +69,7 @@ module Toolbars
|
|||
end
|
||||
|
||||
def share_action
|
||||
return unless @repository
|
||||
|
||||
return unless can_share_repository?(@repository)
|
||||
return unless @repository && can_share_repository?(@repository)
|
||||
|
||||
{
|
||||
name: 'share',
|
||||
|
|
@ -112,4 +108,4 @@ module Toolbars
|
|||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue