Skip to content

Commit f6ce309

Browse files
authored
Merge pull request #274 from RyanCoulsonCA/fix-252
allow changing left panel to any type
2 parents 63e78cc + ee874dc commit f6ce309

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/components/editor/slide-editor.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
<div class="flex mt-4">
187187
<span class="font-bold text-xl">{{ $t('editor.slides.content') }}:</span>
188188
<span class="ml-auto flex-grow"></span>
189-
<div v-if="panelIndex === 1 || rightOnly" class="flex flex-col mr-8">
189+
<div class="flex flex-col mr-8">
190190
<label class="editor-label text-left text-lg">{{ $t('editor.slides.contentType') }}:</label>
191191
<select
192192
ref="typeSelector"
@@ -224,13 +224,21 @@
224224
</div>
225225
<confirmation-modal
226226
:name="`change-slide-${slideIndex}`"
227-
:message="$t('editor.slides.changeSlide.confirm', { title: currentSlide.title })"
227+
:message="
228+
$t('editor.slides.changeSlide.confirm', {
229+
title: currentSlide.title
230+
})
231+
"
228232
@ok="changePanelType(determineEditorType(currentSlide.panel[panelIndex]), newType)"
229233
@Cancel="cancelTypeChange"
230234
/>
231235
<confirmation-modal
232236
:name="`right-only-${slideIndex}`"
233-
:message="$t('editor.slides.changeSlide.confirm', { title: currentSlide.title })"
237+
:message="
238+
$t('editor.slides.changeSlide.confirm', {
239+
title: currentSlide.title
240+
})
241+
"
234242
@ok="toggleRightOnly()"
235243
@Cancel="rightOnly = !rightOnly"
236244
/>

0 commit comments

Comments
 (0)