File tree Expand file tree Collapse file tree 1 file changed +3
-43
lines changed
opendata.swiss/ui/app/components/dataset-detail/model Expand file tree Collapse file tree 1 file changed +3
-43
lines changed Original file line number Diff line number Diff line change @@ -200,53 +200,13 @@ export class DcatApChV2DatasetAdapter {
200
200
return this . #dataset?. getKeywords ?? [ ] ;
201
201
}
202
202
203
+ /**
204
+ * Get the catalog information of the dataset if available
205
+ */
203
206
get catalog ( ) : Catalog {
204
207
return this . #dataset. getOdsCatalogInfo
205
208
}
206
209
207
- get catalogTable ( ) : TableEntry [ ] {
208
- const catalogTable : TableEntry [ ] = [ ] ;
209
- const catalog = this . catalog ;
210
-
211
- catalogTable . push ( {
212
- label : 'title' ,
213
- value : [ { value : catalog . title , type : 'value' } ] ,
214
- nodeType : 'value'
215
- } ) ;
216
-
217
- catalogTable . push ( {
218
- label : 'description' ,
219
- value : [ { value : catalog . description , type : 'value' } ] ,
220
- nodeType : 'value'
221
- } ) ;
222
-
223
- catalogTable . push ( {
224
- label : 'issued' ,
225
- value : [ { value : catalog . issued , type : 'value' } ] ,
226
- nodeType : 'value'
227
- } ) ;
228
-
229
- catalogTable . push ( {
230
- label : 'modified' ,
231
- value : [ { value : catalog . modified , type : 'value' } ] ,
232
- nodeType : 'value'
233
- } ) ;
234
-
235
-
236
- catalogTable . push ( {
237
- label : 'dataset issued' ,
238
- value : [ { value : catalog . record . issued , type : 'value' } ] ,
239
- nodeType : 'value'
240
- } ) ;
241
-
242
- catalogTable . push ( {
243
- label : 'dataset modified' ,
244
- value : [ { value : catalog . record . modified , type : 'value' } ] ,
245
- nodeType : 'value'
246
- } ) ;
247
-
248
- return catalogTable ;
249
- }
250
210
251
211
/**
252
212
* Get the accrual periodicity of the dataset if available
You can’t perform that action at this time.
0 commit comments