Skip to content

Commit

Permalink
finish revert
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Mar 7, 2024
1 parent fb5190a commit 473d9cc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const sharedCSS = css`
.card-error {
color: var(--outline-error);
margin: 0 var(--outline-slim-gutter);
}
`;

Expand All @@ -139,6 +140,7 @@ const getSharedComponents = (element: ServerListItemElement & LitElement) => {
ServerConnectionState.RECONNECTING,
].includes(server.connectionState);
const hasErrorMessage = Boolean(server.errorMessageId);

const messages = {
serverName: server.name,
error: hasErrorMessage ? localize(server.errorMessageId) : '',
Expand Down

0 comments on commit 473d9cc

Please sign in to comment.