mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-17 22:28:38 +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;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.dataTables_scroll {
|
.dataTables_scroll {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,7 @@ module Toolbars
|
||||||
end
|
end
|
||||||
|
|
||||||
def duplicate_action
|
def duplicate_action
|
||||||
return unless @repository
|
return unless @repository && can_create_repositories?(@current_team)
|
||||||
|
|
||||||
return unless can_create_repositories?(@current_team)
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'duplicate',
|
name: 'duplicate',
|
||||||
|
|
@ -71,9 +69,7 @@ module Toolbars
|
||||||
end
|
end
|
||||||
|
|
||||||
def share_action
|
def share_action
|
||||||
return unless @repository
|
return unless @repository && can_share_repository?(@repository)
|
||||||
|
|
||||||
return unless can_share_repository?(@repository)
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'share',
|
name: 'share',
|
||||||
|
|
@ -112,4 +108,4 @@ module Toolbars
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue