From 38c1f339520230b0a69ad76032fe2753727a9f87 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Sun, 28 Mar 2021 18:37:35 +0200 Subject: [PATCH] - Removed useless addCelestialType function --- full-skies-nuxt/pages/astres/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/full-skies-nuxt/pages/astres/index.vue b/full-skies-nuxt/pages/astres/index.vue index 660b8d9..8b8af05 100644 --- a/full-skies-nuxt/pages/astres/index.vue +++ b/full-skies-nuxt/pages/astres/index.vue @@ -24,7 +24,6 @@ import { fetchCelestials } from '@/api/le-systeme-solaire' // Global methods -import { addCelestialsType } from '@/plugins/methods' import CelestialsList from '@/components/celestials/CelestialsList.vue' import NestLoader from '@/components/NestLoader.vue' @@ -45,7 +44,7 @@ export default { mounted () { fetchCelestials() .then((res) => { - this.celestials = addCelestialsType(res) + this.celestials = res }) .catch(() => { this.error = 'Impossible de récupérer les astres.'