Fix haml/js lints
This commit is contained in:
parent
69555645d9
commit
3c0bc6cb57
3 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@ linters:
|
|||
ViewLength:
|
||||
exclude:
|
||||
- 'app/views/admin/accounts/show.html.haml'
|
||||
- 'app/views/admin/instances/show.html.haml'
|
||||
- 'app/views/admin/reports/show.html.haml'
|
||||
- 'app/views/disputes/strikes/show.html.haml'
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ type ShortNumberRenderer = (
|
|||
|
||||
interface ShortNumberProps {
|
||||
value: number;
|
||||
isHide: boolean;
|
||||
isHide?: boolean;
|
||||
renderer?: ShortNumberRenderer;
|
||||
children?: ShortNumberRenderer;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- content_for :page_title do
|
||||
= @instance.domain
|
||||
|
||||
-if @instance.instance_info.present?
|
||||
- if @instance.instance_info.present?
|
||||
%p
|
||||
= "#{@instance.instance_info.software} #{@instance.instance_info.version}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue