ui: fix monaco editor build

This commit is contained in:
undefined committed 2021-06-28 17:42:59 +08:00
1 parent 13cb86e1f8
commit e5d715d02b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.11.44",
"version": "4.11.45",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -69,7 +69,7 @@
"mini-css-extract-plugin": "^1.6.1",
"moment": "^2.29.1",
"monaco-editor": "^0.25.2",
"monaco-editor-webpack-plugin": "^3.1.0",
"monaco-editor-webpack-plugin": "^4.0.0",
"nanoid": "^3.1.23",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
@@ -109,7 +109,7 @@
</div>
<div class="section__body">
<dl class="large horizontal">
<dt>{{ _('Delay')}}</dt><dd>{{ formatSeconds(statistics.delay[0] / 1000) }}</dd>
<dt>{{ _('Delay')}}</dt><dd>{{ statistics.delay[0]|int }}</dd>
<dt>{{ _('5 Min')}}</dt><dd>{{ statistics['d5min'] }}</dd>
<dt>{{ _('1 Hour')}}</dt><dd>{{ statistics['d1h'] }}</dd>
<dt>{{ _('Day') }}</dt><dd>{{ statistics['day'] }}</dd>