fix default severity

pull/3094/head
yann300 7 years ago
parent 9258dee002
commit 2c1456bce8
  1. 2
      src/app/tabs/compile-tab.js

@ -127,7 +127,7 @@ module.exports = class CompileTab {
var error = false
if (data['error']) {
error = true
self._deps.renderer.error(data['error'].formattedMessage, self._view.errorContainer, {type: data['error'].severity})
self._deps.renderer.error(data['error'].formattedMessage, self._view.errorContainer, {type: data['error'].severity || 'error'})
}
if (data.errors && data.errors.length) {
error = true

Loading…
Cancel
Save