Upload folder using huggingface_hub
Browse files
client/public/rebuild-nonce.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
Rebuild nonce: 2025-10-25T13:
|
|
|
|
| 1 |
+
Rebuild nonce: 2025-10-25T13:58:15Z
|
client/src/pages/WeeklyPractice.tsx
CHANGED
|
@@ -2243,7 +2243,7 @@ const WeeklyPractice: React.FC = () => {
|
|
| 2243 |
<h3 className="text-lg font-semibold text-gray-900">Source Text #{weeklyPractice.indexOf(practice) + 1}</h3>
|
| 2244 |
</div>
|
| 2245 |
</div>
|
| 2246 |
-
{((localStorage.getItem('viewMode')||'auto') === 'student') ?
|
| 2247 |
<div className="flex items-center space-x-2">
|
| 2248 |
{editingPractice === practice._id ? (
|
| 2249 |
<>
|
|
|
|
| 2243 |
<h3 className="text-lg font-semibold text-gray-900">Source Text #{weeklyPractice.indexOf(practice) + 1}</h3>
|
| 2244 |
</div>
|
| 2245 |
</div>
|
| 2246 |
+
{((localStorage.getItem('viewMode')||'auto') === 'student') ? null : (JSON.parse(localStorage.getItem('user') || '{}').role === 'admin') && (
|
| 2247 |
<div className="flex items-center space-x-2">
|
| 2248 |
{editingPractice === practice._id ? (
|
| 2249 |
<>
|