From 84b32579ef9c9686cc9fbf5992091aac4138c1d7 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sat, 12 Dec 2020 12:38:20 +0100 Subject: [PATCH] Fix an issue when no offer were returned for a country --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 2495047..250269b 100644 --- a/index.html +++ b/index.html @@ -288,6 +288,7 @@ var app = new Vue({ .then(response => response.json()) .then(response => { if (!response.offers) { + this.offers[locale] = []; return; } this.offers[locale] = response.offers