forked from verdnatura/salix-front
refactor: refs #6896 changes requested in PR
This commit is contained in:
parent
3fdad15f21
commit
a84c20f2ce
|
@ -3,11 +3,4 @@ import qFormMixin from './qformMixin';
|
|||
|
||||
export default boot(({ app }) => {
|
||||
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);
|
||||
};
|
||||
});
|
||||
|
|
|
@ -216,8 +216,7 @@ const detailsColumns = ref([
|
|||
<template #body-cell-description="{ row, value }">
|
||||
<QTd>
|
||||
<div
|
||||
class="row column full-width justify-between flex-start"
|
||||
style="align-items: flex-start"
|
||||
class="row column full-width justify-between items-start"
|
||||
>
|
||||
{{ value }}
|
||||
<div v-if="value" class="subName">
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
import { defineStore } from 'pinia';
|
||||
|
||||
export const useImagesStore = defineStore('imagesStore', {
|
||||
state: () => ({
|
||||
images: {},
|
||||
}),
|
||||
actions: {
|
||||
async pushImage(url, data) {
|
||||
this.images[url] = data;
|
||||
},
|
||||
},
|
||||
});
|
Loading…
Reference in New Issue