Skip to content

Commit

Permalink
Update preview button and quiz summary options
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVelezLl committed Sep 30, 2024
1 parent 6ebe48a commit b117f6a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/>
</h1>
<StatusElapsedTime
v-if="examOrLesson !== 'exam'"
v-show="!$isPrint"
:date="createdDate"
actionType="created"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
const HOUR = MINUTE * 60;
const DAY = HOUR * 24;
const ACTION_TYPES = ['created', 'closed', 'opened'];
const ACTION_TYPES = ['created', 'closed', 'opened', 'madeVisible'];
export default {
name: 'StatusElapsedTime',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<template>

<KButton
<KIconButton
hasDropdown
icon="optionsHorizontal"
appearance="flat-button"
:text="coreString('optionsLabel')"
>
<template #menu>
<KDropdownMenu
:options="options"
@select="$emit('select', $event.value)"
/>
</template>
</KButton>
</KIconButton>

</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
examOrLesson="exam"
>
<template #dropdown>
<KButton
:text="coachString('previewAction')"
style="margin-right: 8px"
/>
<QuizOptionsDropdownMenu
optionsFor="plan"
:draft="exam && exam.draft"
Expand Down

0 comments on commit b117f6a

Please sign in to comment.