Skip to content

Commit e8350dd

Browse files
committed
use correct namespace for ApplicationList && update navigation items
Signed-off-by: Atif Ali <atali@redhat.com>
1 parent 534eb9a commit e8350dd

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

console-extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"section": "resources",
1414
"insertAfter": "pipelines",
1515
"insertBefore": "helm",
16-
"name": "%plugin__gitops-plugin~Environments%",
16+
"name": "Environments",
1717
"href": "/envdynamic",
1818
"dataAttributes": {
1919
"data-test-id": "envdynamic-header"
@@ -209,7 +209,7 @@
209209
"id": "gitops-navigation-section",
210210
"insertAfter": "workloads",
211211
"perspective": "admin",
212-
"name": "%plugin__gitops-plugin~GitOps%"
212+
"name": "GitOps"
213213
}
214214
},
215215
{

src/gitops/components/application/History/History.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.gitops-admin-plugin__history-id-column {
1+
.gitops-plugin__history-id-column {
22
--pf-c-table--cell--Width: 140px;
33
--pf-c-table--cell--MinWidth: 140px;
44
--pf-c-table--cell--MaxWidth: 300px

src/gitops/components/application/History/History.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const useColumnsDV = (getSortParams) => {
257257
cell: 'Revision(s) and Source Repo URL(s)',
258258
props: {
259259
key: 'revision',
260-
className: 'gitops-admin-plugin__history-id-column pf-m-width-50',
260+
className: 'gitops-plugin__history-id-column pf-m-width-50',
261261
sort: getSortParams(4),
262262
},
263263
},

src/gitops/components/shared/ApplicationList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const ApplicationList: React.FC<ApplicationProps> = ({
8888
namespace,
8989
});
9090

91-
const { t } = useTranslation();
91+
const { t } = useTranslation('plugin__gitops-plugin');
9292
const initIndex: number = namespace ? 0 : 1;
9393
const COLUMNS_KEYS_INDEXES = React.useMemo(
9494
() => [

0 commit comments

Comments
 (0)