chore: update frontend configuration
This commit is contained in:
@@ -5,7 +5,7 @@ import { useApi } from './useApi'
|
||||
const machines = ref([])
|
||||
const loading = ref(false)
|
||||
|
||||
export function useMachines() {
|
||||
export function useMachines () {
|
||||
const { showSuccess, showError, showInfo } = useToast()
|
||||
const { get, post, patch, delete: del } = useApi()
|
||||
|
||||
@@ -45,7 +45,7 @@ export function useMachines() {
|
||||
// Créer la machine avec la structure héritée du type
|
||||
const machineWithStructure = {
|
||||
...machineData,
|
||||
typeMachineId: typeMachine.id,
|
||||
typeMachineId: typeMachine.id
|
||||
// La structure sera automatiquement héritée du type
|
||||
// Les composants et pièces seront créés automatiquement
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user