Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Mar 7, 2024
1 parent 5fb54de commit cf17514
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const getSharedComponents = (element: ServerListItemElement & LitElement) => {
const hasErrorMessage = Boolean(server.errorMessageId);
const messages: {[key: string]: string} = {

Check warning on line 149 in src/www/views/servers_view/server_list_item/server_card/index.ts

View check run for this annotation

Codecov / codecov/patch

src/www/views/servers_view/server_list_item/server_card/index.ts#L149

Added line #L149 was not covered by tests
serverName: server.name,
error: hasErrorMessage ? localize(server.errorMessageId) : '',
error: hasErrorMessage ? localize(server.errorMessageId) : server.errorMessageId,
connectButton: localize(isConnectedState ? 'disconnect-button-label' : 'connect-button-label'),
};

Expand Down

0 comments on commit cf17514

Please sign in to comment.