Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/views/administration/AdminMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default {
.then((response) => {
const extensions = Array.isArray(response.data)
? response.data
: response.data.extensions || [];
: response.data.items || [];
Comment thread
nscuro marked this conversation as resolved.
section.children = extensions.map((ext) => {
const encodedName = encodeURIComponent(ext.name);
const route = routePrefix + '/' + encodedName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ export default {
try {
const url = `${this.$api.BASE_URL}/api/v2/extension-points/notification-publisher/extensions`;
const response = await this.axios.get(url);
const extensions = Array.isArray(response?.data?.extensions)
? response.data.extensions
const extensions = Array.isArray(response?.data?.items)
? response.data.items
: [];
Comment thread
nscuro marked this conversation as resolved.
this.availableExtensions = extensions.map((extension) => ({
value: extension.name,
Expand Down
2 changes: 1 addition & 1 deletion src/views/administration/notifications/Publishers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default {
const response = await this.axios.get(
`${this.$api.BASE_URL}/api/v2/extension-points/notification-publisher/extensions`,
);
this.extensions = response.data.extensions || [];
this.extensions = response.data.items || [];
Comment thread
nscuro marked this conversation as resolved.
if (this.extensions.length > 0) {
await this.checkPublisherConfigurability();
}
Expand Down
Loading