From 2206f5d81fb491df6aae4583671f0d56ae2fc8c4 Mon Sep 17 00:00:00 2001 From: 0~_~0 <77128380+luckylionheart@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:32:34 +0200 Subject: [PATCH] Update app.view.ts --- app/app.view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.view.ts b/app/app.view.ts index bee3279..35f6efd 100644 --- a/app/app.view.ts +++ b/app/app.view.ts @@ -41,7 +41,7 @@ namespace $.$$ { @ $mol_mem_key card_link( n: number ) { - let link = this.fetch_by_number( n )?.data[ 0 ]?.attributes?._gnome_material_id + const link = this.fetch_by_number( n )?.data[ 0 ]?.attributes?._gnome_material_id return `https://optimade-gnome.odbx.science/v1/structures/data/gnome_data/by_id.zip/data/gnome_data/by_id/${link}.CIF` }