Skip to content

Commit

Permalink
[Channel. Tables] Enable sorting and general bug fixes (#189)
Browse files Browse the repository at this point in the history
* fix user role console error
* fix import dataset functionality regression
  • Loading branch information
jvigliotta authored Aug 7, 2024
1 parent 266ed35 commit ff03f39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ function importWithDatasetsModifier(openmct) {
componentInstance,
destroy,
el
} = mount(componentDefinition, componentOptions)
} = mount(componentDefinition, componentOptions);

component = componentInstance;

_destroy = destroy;
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class ChannelTableViewProvider {
:isEditing="isEditing"
:marking="markingProp"
:allowFiltering="false"
:allowSorting="false"
:allowSorting="true"
:view="view"
></table-component>`
};
Expand Down
4 changes: 4 additions & 0 deletions src/services/identity/MCWSIdentityProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ export default class UserProvider {
return this.userPromise;
}

getPossibleRoles() {
return [];
}

async #getUserInfo() {
try {
const rows = await mcws.namespace().read();
Expand Down

0 comments on commit ff03f39

Please sign in to comment.