diff --git a/src/action/AsyncActions.ts b/src/action/AsyncActions.ts index ae6dc891..c3e5f581 100644 --- a/src/action/AsyncActions.ts +++ b/src/action/AsyncActions.ts @@ -65,25 +65,6 @@ import { getChangeTypeUri, VocabularyContentChangeFilterData, } from "../model/filter/VocabularyContentChangeFilterData"; -/* - * Asynchronous actions involve requests to the backend server REST API. As per recommendations in the Redux docs, this consists - * of several synchronous sub-actions which inform the application of initiation of the request and its result. - * - * Some conventions (they are also described in README.md): - * API guidelines: - * _Load_ - use IRI identifiers as parameters (+ normalized name as string if necessary, e.g. when fetching a term). - * _Create_ - use the instance to be created as parameter + IRI identifier if additional context is necessary (e.g. when creating a term). - * _Update_ - use the instance to be updated as parameter. It should contain all the necessary data. - * _Remove_ - use the instance to be removed as parameter. - * - * Naming conventions for CRUD operations: - * _load${ASSET(S)}_ - loading assets from the server, e.g. `loadVocabulary` - * _create${ASSET}_ - creating an asset, e.g. `createVocabulary` - * _update${ASSET}_ - updating an asset, e.g. `updateVocabulary` - * _remove${ASSET}_ - removing an asset, e.g. `removeVocabulary` - * - * TODO Consider splitting this file into multiple, it is becoming too long - */ /* * Asynchronous actions involve requests to the backend server REST API. As per recommendations in the Redux docs, this consists diff --git a/src/component/vocabulary/TermChangeFrequencyUI.tsx b/src/component/vocabulary/TermChangeFrequencyUI.tsx index 740cff12..a1d41dba 100644 --- a/src/component/vocabulary/TermChangeFrequencyUI.tsx +++ b/src/component/vocabulary/TermChangeFrequencyUI.tsx @@ -9,7 +9,6 @@ import ChangeRecord from "../../model/changetracking/ChangeRecord"; import { UpdateRecord } from "../../model/changetracking/UpdateRecord"; import VocabularyContentPersistRow from "../changetracking/VocabularyContentPersistRow"; import VocabularyContentUpdateRow from "../changetracking/VocabularyContentUpdateRow"; -import If from "../misc/If"; import SimplePagination from "../dashboard/widget/lastcommented/SimplePagination"; import CustomInput from "../misc/CustomInput"; import Select from "../misc/Select"; @@ -254,14 +253,12 @@ const TermChangeFrequencyUI: React.FC = ({ - 0}> - - + ); diff --git a/src/i18n/cs.ts b/src/i18n/cs.ts index 00f7bf34..2fa22622 100644 --- a/src/i18n/cs.ts +++ b/src/i18n/cs.ts @@ -825,7 +825,6 @@ const cs = { "history.changedAttribute": "Atribut", "history.originalValue": "Původní hodnota", "history.newValue": "Nová hodnota", - "history.filter.datetime": "Období", "changefrequency.label": "Aktivita", diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 0602ea6d..9569044b 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -817,7 +817,6 @@ const en = { "history.changedAttribute": "Attribute", "history.originalValue": "Original value", "history.newValue": "New value", - "history.filter.datetime": "Time period", "changefrequency.label": "Activity",