Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban committed Jan 16, 2025
1 parent defe976 commit bb89434
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/pages/panel/views/report-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,14 @@ export default {
${store.error(form) &&
!store.pending(form) &&
html`
<div layout="column gap">
<div layout="row gap">
<ui-icon
name="warning"
layout="inline size:2"
color="danger-700"
></ui-icon>
<ui-text type="body-s" color="danger-700">
${store.error(form)?.message}
</ui-text>
</div>
<ui-text type="body-s" color="danger-700" underline>
${msg.html`If the issue persists, please use the report form on
<a href="${SUPPORT_PAGE_URL}" onclick="${openTabWithUrl}">ghostery.com</a>.`}
<div layout="row gap">
<ui-icon
name="warning"
layout="inline size:2"
color="danger-700"
></ui-icon>
<ui-text type="body-s" color="danger-700">
${store.error(form)?.message}
</ui-text>
</div>
`}
Expand Down Expand Up @@ -149,6 +143,12 @@ export default {
Include a screenshot of the current page
</ui-text>
</label>
<ui-text type="body-s" color="gray-600" underline>
${msg.html`
If the issue persists or you’d like to report a different page as broken,
please use the report form on <a href="${SUPPORT_PAGE_URL}" onclick="${openTabWithUrl}">ghostery.com</a>.
`}
</ui-text>
<ui-line></ui-line>
<div layout="grid:2 gap:1">
<ui-button type="transparent" disabled="${store.pending(form)}">
Expand Down

0 comments on commit bb89434

Please sign in to comment.