From 40b5eb5ea76ff7cb32851dc8f010d3aac09bf8b7 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 10 Sep 2024 12:29:53 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20typo=20region=20=3D>=20r=C3=A9gion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/graphql/schema.graphql | 2 +- app/graphql/types/address_type.rb | 2 +- app/models/concerns/addressable_column_concern.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/graphql/schema.graphql b/app/graphql/schema.graphql index 240bdb86e..2b54aedb8 100644 --- a/app/graphql/schema.graphql +++ b/app/graphql/schema.graphql @@ -40,7 +40,7 @@ type Address { postalCode: String! """ - n° de region + n° de région """ regionCode: String diff --git a/app/graphql/types/address_type.rb b/app/graphql/types/address_type.rb index 59633e7b9..a3ec4060e 100644 --- a/app/graphql/types/address_type.rb +++ b/app/graphql/types/address_type.rb @@ -24,7 +24,7 @@ module Types field :department_code, String, "n° de département", null: true field :region_name, String, "nom de région", null: true - field :region_code, String, "n° de region", null: true + field :region_code, String, "n° de région", null: true field :geometry, Types::GeoJSON, "coordonnées géographique", null: true diff --git a/app/models/concerns/addressable_column_concern.rb b/app/models/concerns/addressable_column_concern.rb index 98cdab56d..cb56ea816 100644 --- a/app/models/concerns/addressable_column_concern.rb +++ b/app/models/concerns/addressable_column_concern.rb @@ -34,7 +34,7 @@ module AddressableColumnConcern table:, displayable: false, column: stable_id, - label: "#{libelle} – region", + label: "#{libelle} – région", type: :enum, value_column: ['region_name'] )