update
This commit is contained in:
parent
5682c793b9
commit
0ecef402a1
File diff suppressed because one or more lines are too long
2
reader/dist/index.html
vendored
2
reader/dist/index.html
vendored
@ -7,7 +7,7 @@
|
|||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>Конспект</title>
|
<title>Конспект</title>
|
||||||
<script type="module" crossorigin src="/assets/index-CSUOPJ4g.js"></script>
|
<script type="module" crossorigin src="/assets/index-BM-0-Di-.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-D8a8nrqF.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-D8a8nrqF.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@ -230,6 +230,10 @@ export function Reader({ topic }) {
|
|||||||
|
|
||||||
const selectedResource = topic.resources[resourceIdx];
|
const selectedResource = topic.resources[resourceIdx];
|
||||||
|
|
||||||
|
if (resourceIdx === -1) {
|
||||||
|
return <div className="text-sm font-medium p-4">No data</div>;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user