mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix
This commit is contained in:
1 file changed
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
|
import { STATUS } from '@hydrooj/utils/lib/common';
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import { map } from 'lodash';
|
import { map } from 'lodash';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
@@ -340,7 +341,7 @@ const page = new NamedPage('problem_files', () => {
|
|||||||
if (res.error) Notification.error(res.error);
|
if (res.error) Notification.error(res.error);
|
||||||
else {
|
else {
|
||||||
Notification.success(i18n('Generating...'));
|
Notification.success(i18n('Generating...'));
|
||||||
await new InfoDialog({
|
const dialog = new InfoDialog({
|
||||||
$body: tpl`
|
$body: tpl`
|
||||||
<div class="typo">
|
<div class="typo">
|
||||||
<iframe src="${res.url}"
|
<iframe src="${res.url}"
|
||||||
|
|||||||
Reference in new issue
Block a user