From 5a8ef46c4235ad61b7f2a98189140d2bc5e10c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 24 May 2022 11:10:58 +0300 Subject: [PATCH] Fixed #2507 - The default severity of the InlineMessage is info, but in the code the default severity is 'error'. --- api-generator/components/inlinemessage.js | 2 +- src/views/message/MessageDoc.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-generator/components/inlinemessage.js b/api-generator/components/inlinemessage.js index 1bcdeb29c..e15a9c45b 100644 --- a/api-generator/components/inlinemessage.js +++ b/api-generator/components/inlinemessage.js @@ -2,7 +2,7 @@ const InlineMessageProps = [ { name: "severity", type: "string", - default: "info", + default: "error", description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".' } ]; diff --git a/src/views/message/MessageDoc.vue b/src/views/message/MessageDoc.vue index d3fa4cad2..f67f3f8d3 100755 --- a/src/views/message/MessageDoc.vue +++ b/src/views/message/MessageDoc.vue @@ -139,7 +139,7 @@ import InlineMessage from 'primevue/inlinemessage'; severity string - info + error Severity level of the message.