File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/frontend/components/Docs Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9898 SwaggerUI ({
9999 dom_id: ` #${ this .dom_id } ` ,
100100 url: ROOT_PATH ,
101- // spec: this.data,
102101 deepLinking: ! env .isPlugin (),
103102 docExpansion: this .isPrintVersion ? ' full' : ' list' ,
104103 presets: [
Original file line number Diff line number Diff line change 1212 <v-data-table
1313 v-bind:mobile-breakpoint =" 0"
1414 v-bind:headers =" headers"
15- v-bind:items =" source.dataset || [] "
15+ v-bind:items =" items "
1616 v-bind:search =" search"
1717 v-bind:items-per-page =" itemsPerPage"
1818 v-bind:multi-sort =" true"
108108 headers () {
109109 return this .profile ? .headers || [];
110110 },
111+ items () {
112+ const result = this .source .dataset || [];
113+ return Array .isArray (result) ? result : [result];
114+ },
111115 perPage () {
112116 return (this .profile || {})[' per-page' ];
113117 },
You can’t perform that action at this time.
0 commit comments