Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix(default-theme): hide error notifications when the list is empty (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucmus authored Sep 18, 2020
1 parent 054f870 commit 537277d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/default-theme/components/SwErrorsList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-if="list" class="errors-list-component">
<div v-if="Array.isArray(list) && list.length" class="errors-list-component">
<SwAlert :message="$t('Encountered problems:')" type="danger" />

<ul class="list">
Expand Down

1 comment on commit 537277d

@vercel
Copy link

@vercel vercel bot commented on 537277d Sep 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.