We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fbbf6d commit c25ddedCopy full SHA for c25dded
1 file changed
templates/dashboard/discussions/qna-card.php
@@ -348,19 +348,3 @@ class="tutor-popover-menu-item tutor-gap-5 tutor-sm-border-t"
348
<?php endif; ?>
349
350
</div>
351
-<?php if ( $is_user_asker ) : ?>
352
-<div x-show="editingId === <?php echo (int) $question_id; ?>" x-cloak class="tutor-card tutor-surface-l1-hover">
353
- <?php
354
- tutor_load_template(
355
- 'dashboard.discussions.qna-form',
356
- array(
357
- 'form_id' => 'qna-edit-' . (int) $question_id,
358
- 'default_value' => $question->comment_content,
359
- 'submit_handler' => '(data) => updateQnAMutation?.mutate({ ...data, question_id: ' . (int) $question->comment_ID . ' })',
360
- 'cancel_handler' => 'setEditing(null)',
361
- 'is_pending' => 'updateQnAMutation?.isPending',
362
- )
363
- );
364
- ?>
365
-</div>
366
-<?php endif; ?>
0 commit comments