Lashtw commited on
Commit
93f0573
·
verified ·
1 Parent(s): ddd33c5

Upload 10 files

Browse files
Files changed (1) hide show
  1. src/views/InstructorView.js +3 -3
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-default shadow-[0_0_10px_rgba(34,197,94,0.1)]';
2433
  content = '✅';
2434
- // Action removed: Moved to prompt list view
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();