Skip to content

Commit 89482ac

Browse files
authored
Merge pull request #415 from mulesoft/develop
Fix show less error link
2 parents e008750 + 28bf7fb commit 89482ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/scripts/api-console.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7170,8 +7170,8 @@ angular.module('ramlConsoleApp').run(['$templateCache', function($templateCache)
71707170
" <div class=\"raml-console-initializer-row\">\n" +
71717171
" <div class=\"raml-console-parser-error\">\n" +
71727172
" <span>Api contains errors.</span>\n" +
7173-
" <a ng-hide=\"showErrorDetail == true\" ng-click=\"showErrorDetail = false\">(Show less)</a>\n" +
7174-
" <a ng-hide=\"!showErrorDetail\" ng-click=\"showErrorDetail = true\">(Show more)</a>\n" +
7173+
" <a ng-hide=\"!showErrorDetail == true\" ng-click=\"showErrorDetail = false\">(Show less)</a>\n" +
7174+
" <a ng-hide=\"showErrorDetail\" ng-click=\"showErrorDetail = true\">(Show more)</a>\n" +
71757175
" </div>\n" +
71767176
" <div class=\"raml-console-error-pre\" ng-repeat=\"err in errors\" ng-show=\"showErrorDetail\">\n" +
71777177
" [{{err.isWarning && 'warning' || 'error'}}] {{err.message}}\n" +

src/app/directives/raml-console.tpl.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ <h4 class="raml-console-initializer-subhead">Error while parsing</h4>
88
<div class="raml-console-initializer-row">
99
<div class="raml-console-parser-error">
1010
<span>Api contains errors.</span>
11-
<a ng-hide="showErrorDetail == true" ng-click="showErrorDetail = false">(Show less)</a>
12-
<a ng-hide="!showErrorDetail" ng-click="showErrorDetail = true">(Show more)</a>
11+
<a ng-hide="!showErrorDetail == true" ng-click="showErrorDetail = false">(Show less)</a>
12+
<a ng-hide="showErrorDetail" ng-click="showErrorDetail = true">(Show more)</a>
1313
</div>
1414
<div class="raml-console-error-pre" ng-repeat="err in errors" ng-show="showErrorDetail">
1515
[{{err.isWarning && 'warning' || 'error'}}] {{err.message}}

0 commit comments

Comments
 (0)