Skip to content

Commit

Permalink
Merge pull request #446 from noi-techpark/same-edit-new
Browse files Browse the repository at this point in the history
'Add record' is now the same as 'Edit' view for Article and PublishedOn
  • Loading branch information
gappc authored Nov 2, 2023
2 parents 31a9ade + ad0415d commit 69f5508
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 177 deletions.
139 changes: 0 additions & 139 deletions databrowser/src/config/tourism/article/article.newView.ts

This file was deleted.

3 changes: 1 addition & 2 deletions databrowser/src/config/tourism/article/article.views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
// SPDX-License-Identifier: AGPL-3.0-or-later

import { articleListView } from './article.listView';
import { articleNewView } from './article.newView';
import { articleSharedView } from './article.sharedView';

export const articleViews = {
table: articleListView,
detail: articleSharedView(),
edit: articleSharedView(),
new: articleNewView,
new: articleSharedView(),
};
34 changes: 0 additions & 34 deletions databrowser/src/config/tourism/publishedOn/publishedOn.newView.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
// SPDX-License-Identifier: AGPL-3.0-or-later

import { publishedOnListView } from './publishedOn.listView';
import { publishedOnNewView } from './publishedOn.newView';
import { publishedOnSharedView } from './publishedOn.sharedView';

export const publishedOnViews = {
table: publishedOnListView,
detail: publishedOnSharedView(),
edit: publishedOnSharedView(),
new: publishedOnNewView,
new: publishedOnSharedView(),
};

0 comments on commit 69f5508

Please sign in to comment.