[flags] fix sorting custom flags

This commit is contained in:
Avris 2021-04-21 20:37:28 +02:00
parent c578a2d0bc
commit 5c7e15bacc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="form-group"> <div class="form-group">
<draggable tag="ul" v-model="images" handle=".handle" ghostClass="ghost" @end="$emit('input', images)" class="list-unstyled"> <draggable tag="ul" v-model="images" handle=".handle" ghostClass="ghost" @end="$emit('input', listToDict(images))" class="list-unstyled">
<li v-for="(image, i) in images" class="mb-4"> <li v-for="(image, i) in images" class="mb-4">
<div class="input-group mb-1"> <div class="input-group mb-1">
<button class="btn btn-light border handle" type="button" :aria-label="$t('table.sort')"> <button class="btn btn-light border handle" type="button" :aria-label="$t('table.sort')">