@ntlab/sipd-tu-bridge-ui 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ntlab/sipd-tu-bridge-ui",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "SIPD Penatausahaan Bridge Web Interface",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -127,7 +127,8 @@ $.error.handle = function(el) {
127
127
  if (el.attr('href') !== '#') {
128
128
  $.get(el.attr('href'))
129
129
  .done(function(data) {
130
- $('#err-view-dlg .container').html(typeof data === 'object' ? JSON.stringify(data, null, 2) : $.safeStr(data));
130
+ const content = typeof data === 'object' ? JSON.stringify(data, null, 2) : $.safeStr(data);
131
+ $('#err-view-dlg .container').html(\`<pre>\${content}</pre>\`);
131
132
  });
132
133
  }
133
134
  }