mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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 { map } from 'lodash';
|
||||
import React from 'react';
|
||||
@@ -340,7 +341,7 @@ const page = new NamedPage('problem_files', () => {
|
||||
if (res.error) Notification.error(res.error);
|
||||
else {
|
||||
Notification.success(i18n('Generating...'));
|
||||
await new InfoDialog({
|
||||
const dialog = new InfoDialog({
|
||||
$body: tpl`
|
||||
<div class="typo">
|
||||
<iframe src="${res.url}"
|
||||
|
||||
Reference in new issue
Block a user