Merge pull request #193 from SouKBit/patch-1

Update ValidationMessage.vue
pull/213/head
Cagatay Civici 2020-02-27 12:25:16 +03:00 committed by GitHub
commit dcbf67f63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<div aria-live="polite" class="p-message p-component p-message-error">
<div aria-live="polite" :class="containerClass">
<span :class="iconClass"></span>
<span class="p-message-text"><slot></slot></span>
</div>
@ -32,8 +32,8 @@ export default {
},
iconClass() {
return ['p-message-icon pi', {
'pi-check': this.severity === 'info',
'pi-info-circle': this.severity === 'success',
'pi-info-circle': this.severity === 'info',
'pi-check': this.severity === 'success',
'pi-exclamation-triangle': this.severity === 'warn',
'pi-times-circle': this.severity === 'error'
}];