Skip to content

Commit

Permalink
Set the idAttribute of the frontend Project model (#224)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jgonggrijp committed Oct 3, 2024
1 parent da48157 commit cf5218e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/vre/project/project.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cf5218e

Please sign in to comment.