Skip to content

Commit 6993cc6

Browse files
committed
fix: delete server confirm model not destroy 0xJacky#206
close 0xJacky#206
1 parent 98e0878 commit 6993cc6

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/workflows/documents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525

2626
jobs:
2727
build:
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v3

app/src/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"2.0.0-beta.4","build_id":47,"total_build":251}
1+
{"version":"2.0.0-beta.4","build_id":49,"total_build":253}

app/src/views/domain/ngx_conf/NgxConfigEditor.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ function remove_server(index: number) {
209209
centered: true,
210210
okText: $gettext('OK'),
211211
cancelText: $gettext('Cancel'),
212-
onOk: () => props.ngx_config?.servers?.splice(index, 1)
212+
onOk() {
213+
props.ngx_config?.servers?.splice(index, 1)
214+
}
213215
})
214216
}
215217
</script>

app/src/views/other/Login.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
105105
</script>
106106

107107
<template>
108-
<div class="container">
108+
<div class="login-container">
109109
<div class="login-form">
110110
<div class="project-title">
111111
<h1>Nginx UI</h1>
@@ -150,11 +150,11 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
150150
</template>
151151

152152
<style lang="less">
153-
.container {
153+
.login-container {
154154
display: flex;
155155
align-items: center;
156156
justify-content: center;
157-
height: 100%;
157+
height: 100vh;
158158
159159
.login-form {
160160
max-width: 400px;
@@ -181,6 +181,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
181181
.footer {
182182
padding: 30px;
183183
text-align: center;
184+
font-size: 14px;
184185
}
185186
}
186187
}

app/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"2.0.0-beta.4","build_id":47,"total_build":251}
1+
{"version":"2.0.0-beta.4","build_id":49,"total_build":253}

0 commit comments

Comments
 (0)