- Bitcoin
- Circuito non aggiungere se già esiste
This commit is contained in:
@@ -2195,6 +2195,7 @@ export const colTableProducts = [
|
||||
]
|
||||
|
||||
const colcontribtype = [
|
||||
AddCol({ name: '_id', label_trans: 'others.value' }),
|
||||
AddCol({ name: 'label', label_trans: 'proj.longdescr' }),
|
||||
AddCol({ name: 'showprice', label_trans: 'event.showprice', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol(DeleteRec),
|
||||
|
||||
27
src/store/dialog.ts
Normal file
27
src/store/dialog.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
// store/dialog.ts
|
||||
|
||||
import { reactive } from 'vue';
|
||||
|
||||
interface DialogState {
|
||||
isOpen: boolean;
|
||||
}
|
||||
|
||||
const state: DialogState = reactive({
|
||||
isOpen: false,
|
||||
});
|
||||
|
||||
export const useDialogStore = () => {
|
||||
const openDialog = () => {
|
||||
state.isOpen = true;
|
||||
};
|
||||
|
||||
const closeDialog = () => {
|
||||
state.isOpen = false;
|
||||
};
|
||||
|
||||
return {
|
||||
state,
|
||||
openDialog,
|
||||
closeDialog,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user