forked from deblan/side_menu
format code
This commit is contained in:
parent
ab64a13fc1
commit
0821802157
2 changed files with 5 additions and 6 deletions
|
|
@ -31,15 +31,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
<div class="modal__content">
|
||||
<draggable
|
||||
v-model="apps"
|
||||
@end="update"
|
||||
item-key="id"
|
||||
@end="update"
|
||||
>
|
||||
<template #item="{element}">
|
||||
<template #item="{ element }">
|
||||
<div class="draggable">
|
||||
<span class="arrow">⇅</span>
|
||||
{{element.name}}
|
||||
{{ element.name }}
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
</draggable>
|
||||
|
||||
<div class="modal__footer">
|
||||
|
|
@ -105,7 +105,7 @@ const update = () => {
|
|||
|
||||
onMounted(async () => {
|
||||
const items = await navStore.getApps()
|
||||
|
||||
|
||||
window.setTimeout(() => {
|
||||
setApps(items)
|
||||
}, 500)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
|
||||
import { defineStore } from 'pinia'
|
||||
import { ref } from 'vue'
|
||||
import axios from '@nextcloud/axios'
|
||||
import { generateUrl, generateOcsUrl } from '@nextcloud/router'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue