Skip to content

Commit

Permalink
disable cloud computing filter for addons
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed Jan 10, 2025
1 parent 8b3930f commit bbf6914
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ enum PageMode {
export enum FilterTypes {
STORAGE = 'additional-storage',
CITATION_MANAGER = 'citation-manager',
CLOUD_COMPUTING = 'cloud-computing',
// CLOUD_COMPUTING = 'cloud-computing', // disabled because BOA is down
}

interface Args {
Expand Down Expand Up @@ -75,12 +75,12 @@ export default class AddonsServiceManagerComponent extends Component<Args> {
list: A([]),
configuredAddons: A([]),
},
[FilterTypes.CLOUD_COMPUTING]: {
modelName: 'external-computing-service',
task: taskFor(this.getComputingAddonProviders),
list: A([]),
configuredAddons: A([]),
},
// [FilterTypes.CLOUD_COMPUTING]: {
// modelName: 'external-computing-service',
// task: taskFor(this.getComputingAddonProviders),
// list: A([]),
// configuredAddons: A([]),
// },
};
filterTypeMapper = new TrackedObject(this.mapper);
@tracked filterText = '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ export default class UserAddonManagerComponent extends Component<Args> {
authorizedAccounts: [] as AuthorizedCitationAccountModel[],
authorizedServiceIds: [] as string[],
},
[FilterTypes.CLOUD_COMPUTING]: {
modelName: 'external-computing-service',
fetchProvidersTask: taskFor(this.getComputingAddonProviders),
list: A([]) as EmberArray<Provider>,
getAuthorizedAccountsTask: taskFor(this.getAuthorizedComputingAccounts),
authorizedAccounts: [] as AuthorizedComputingAccountModel[],
authorizedServiceIds: [] as string[],
},
// [FilterTypes.CLOUD_COMPUTING]: {
// modelName: 'external-computing-service',
// fetchProvidersTask: taskFor(this.getComputingAddonProviders),
// list: A([]) as EmberArray<Provider>,
// getAuthorizedAccountsTask: taskFor(this.getAuthorizedComputingAccounts),
// authorizedAccounts: [] as AuthorizedComputingAccountModel[],
// authorizedServiceIds: [] as string[],
// },
};
@tracked filterText = '';
@tracked activeFilterType = FilterTypes.STORAGE;
Expand Down

0 comments on commit bbf6914

Please sign in to comment.