Skip to content

Commit d49536e

Browse files
committed
use ebp_source nomenclature for the list
1 parent 515a089 commit d49536e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/scripts/controllers/EBPSourcesController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require('../app').controller('EBPSourcesController', /* @ngInject */function ($scope, $q, db, api, ngToast) {
22
const $ctrl = this
33
$q.resolve(db.nomenclatures.$promise || db.nomenclatures).then(function (nomenclatures) {
4-
$ctrl.sources = Object.values(nomenclatures.main_source || []).map((source) => ({
4+
$ctrl.sources = Object.values(nomenclatures.ebp_source || []).map((source) => ({
55
id: source.label.en,
66
label: source.toString(),
77
allowed: false

0 commit comments

Comments
 (0)