Skip to content

Commit 898048b

Browse files
authored
fix: Middleware remove zincSearch (#10)
1 parent 37d46d2 commit 898048b

File tree

7 files changed

+7
-262
lines changed

7 files changed

+7
-262
lines changed

packages/web/src/components/common/EntrancesCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
<div class="item-content">
4040
<div class="content-hearder row items-center justify-between">
41-
<span class="q-ml-md text-ink-2">Policies</span>
41+
<span class="q-ml-md text-ink-2">{{ t('policies') }}</span>
4242
<q-icon
4343
class="cursor-pointer q-mr-md"
4444
name="sym_r_add_box"

packages/web/src/components/common/MiddlewareCard.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
/>
5050
</div>
5151
</div>
52-
<div class="item-content" v-if="name !== 'zincSearch'">
52+
53+
<div class="item-content">
5354
<div class="content-hearder row items-center justify-between">
5455
<span class="q-ml-md">{{
5556
t('config_space_middleware_Databases')

packages/web/src/components/config/MetadataComponent.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
max-values="2"
8888
hide-dropdown-icon
8989
input-debounce="0"
90-
@new-value="createPort"
9190
class="form-item-input"
9291
:hint="t('config_metadata_categories_hint')"
9392
:rules="[

packages/web/src/components/config/MiddlewareComponent.vue

Lines changed: 0 additions & 256 deletions
This file was deleted.

packages/web/src/components/dialog/DialogMiddleware.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ const selfMiddleware = ref(JSON.parse(JSON.stringify(props.data)));
9393
9494
const title = computed(() => {
9595
if (props.mode === 'create') {
96-
return t('addMiddle', { type: props.data.name });
96+
return t('dialog.addMiddle', { type: props.data.name });
9797
} else {
98-
return t('editMiddle', { type: props.data.name });
98+
return t('dialog.editMiddle', { type: props.data.name });
9999
}
100100
});
101101

packages/web/src/i18n/en-US/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export default {
6767
upload: 'Upload',
6868
replace: 'Replace',
6969
close: 'Close',
70+
policies: 'Policies',
7071

7172
btn_install: 'Install',
7273
btn_installing: 'Installing',

packages/web/src/types/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const requiredCpuOptions = ['core', 'm'];
88

99
export const requiredOptions = ['Ei', 'Pi', 'Ti', 'Gi', 'Mi', 'Ki'];
1010

11-
export const middlewareOptions = ['postgres', 'redis', 'mongodb', 'zincSearch'];
11+
export const middlewareOptions = ['postgres', 'redis', 'mongodb'];
1212

1313
export const databasesOptions = ['Enable', 'Disable'];
1414

0 commit comments

Comments
 (0)