0
0
Fork 0

refactor: refs #6896 changes requested in PR

This commit is contained in:
Jon Elias 2024-06-20 08:33:29 +02:00
parent 3fdad15f21
commit a84c20f2ce
3 changed files with 1 additions and 21 deletions

View File

@ -3,11 +3,4 @@ import qFormMixin from './qformMixin';
export default boot(({ app }) => { export default boot(({ app }) => {
app.mixin(qFormMixin); app.mixin(qFormMixin);
app.config.globalProperties.$emitEvent = function (eventName, payload) {
app._instance?.emit(eventName, payload);
};
app.config.globalProperties.$onEvent = function (eventName, callback) {
app._instance?.on(eventName, callback);
};
}); });

View File

@ -216,8 +216,7 @@ const detailsColumns = ref([
<template #body-cell-description="{ row, value }"> <template #body-cell-description="{ row, value }">
<QTd> <QTd>
<div <div
class="row column full-width justify-between flex-start" class="row column full-width justify-between items-start"
style="align-items: flex-start"
> >
{{ value }} {{ value }}
<div v-if="value" class="subName"> <div v-if="value" class="subName">

View File

@ -1,12 +0,0 @@
import { defineStore } from 'pinia';
export const useImagesStore = defineStore('imagesStore', {
state: () => ({
images: {},
}),
actions: {
async pushImage(url, data) {
this.images[url] = data;
},
},
});