From cf5218e26ef30496ce4f9c9dfa64d178939163db Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Thu, 3 Oct 2024 20:34:54 +0200 Subject: [PATCH] Set the idAttribute of the frontend Project model (#224) The fact that this was not correctly set yet is a historical artifact that apparently has gone unnoticed for a long time. It is unrelated to #181. --- frontend/vre/project/project.model.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/vre/project/project.model.js b/frontend/vre/project/project.model.js index 6b7acc30..70ad1e61 100644 --- a/frontend/vre/project/project.model.js +++ b/frontend/vre/project/project.model.js @@ -2,6 +2,7 @@ import { APICollection } from '../utils/api.model'; export var Projects = APICollection.extend({ url: '/api/projects/', + idAttribute: 'name', }, { mine: function () { var myProjects = new Projects();