Commit ad65be7b authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Martin Wortschack

Update deprecated slot syntax in `./app/assets/javascripts/releases/components/app_edit.vue`

parent 5c94a189
...@@ -184,18 +184,19 @@ export default { ...@@ -184,18 +184,19 @@ export default {
:add-spacing-classes="false" :add-spacing-classes="false"
class="prepend-top-10 append-bottom-10" class="prepend-top-10 append-bottom-10"
> >
<textarea <template #textarea>
id="release-notes" <textarea
slot="textarea" id="release-notes"
v-model="releaseNotes" v-model="releaseNotes"
class="note-textarea js-gfm-input js-autosize markdown-area" class="note-textarea js-gfm-input js-autosize markdown-area"
dir="auto" dir="auto"
data-supports-quick-actions="false" data-supports-quick-actions="false"
:aria-label="__('Release notes')" :aria-label="__('Release notes')"
:placeholder="__('Write your release notes or drag your files here…')" :placeholder="__('Write your release notes or drag your files here…')"
@keydown.meta.enter="updateRelease()" @keydown.meta.enter="updateRelease()"
@keydown.ctrl.enter="updateRelease()" @keydown.ctrl.enter="updateRelease()"
></textarea> ></textarea>
</template>
</markdown-field> </markdown-field>
</div> </div>
</gl-form-group> </gl-form-group>
......
---
title: Update deprecated slot syntax in ./app/assets/javascripts/releases/components/app_edit.vue
merge_request: 32018
author: Gilang Gumilar
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment