Spaces:
Running
Running
Upload 10 files
Browse files
src/views/InstructorView.js
CHANGED
|
@@ -2429,10 +2429,10 @@ export function setupInstructorEvents() {
|
|
| 2429 |
|
| 2430 |
if (p) {
|
| 2431 |
if (p.status === 'completed') {
|
| 2432 |
-
statusClass = 'bg-green-500/20 border-green-500/50 hover:bg-green-500/40 cursor-
|
| 2433 |
content = '✅';
|
| 2434 |
-
// Action
|
| 2435 |
-
action = `title="完成 -
|
| 2436 |
} else if (p.status === 'started') {
|
| 2437 |
// Check stuck
|
| 2438 |
const startedAt = p.timestamp ? p.timestamp.toDate() : new Date();
|
|
|
|
| 2429 |
|
| 2430 |
if (p) {
|
| 2431 |
if (p.status === 'completed') {
|
| 2432 |
+
statusClass = 'bg-green-500/20 border-green-500/50 hover:bg-green-500/40 cursor-pointer shadow-[0_0_10px_rgba(34,197,94,0.1)]';
|
| 2433 |
content = '✅';
|
| 2434 |
+
// Action restored: Allow direct click to open detailed view
|
| 2435 |
+
action = `onclick="window.showBroadcastModal('${student.id}', '${c.id}')" title="完成 - 點擊查看詳情"`;
|
| 2436 |
} else if (p.status === 'started') {
|
| 2437 |
// Check stuck
|
| 2438 |
const startedAt = p.timestamp ? p.timestamp.toDate() : new Date();
|