Skip to content

Commit

Permalink
show button text "Install lint rules" if no messages are in the project
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasBuchfink committed Mar 13, 2024
1 parent 3b5cbb5 commit 066a4e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const ListHeader = () => {
}
prop:target="_blank"
>
<Show when={project()?.installed.messageLintRules().length === 0 || messageCount() === 0}>
<Show when={project()?.installed.messageLintRules().length === 0 || project()?.query.messages.includedMessageIds().length === 0}>
Install lint rules
</Show>
<Show when={project()?.installed.messageLintRules().length !== 0}>
Expand Down

0 comments on commit 066a4e2

Please sign in to comment.