Skip to content

Commit

Permalink
fix: delete server confirm model not destroy #206
Browse files Browse the repository at this point in the history
close #206
  • Loading branch information
0xJacky committed Nov 27, 2023
1 parent 98e0878 commit 6993cc6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion app/src/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"2.0.0-beta.4","build_id":47,"total_build":251}
{"version":"2.0.0-beta.4","build_id":49,"total_build":253}
4 changes: 3 additions & 1 deletion app/src/views/domain/ngx_conf/NgxConfigEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ function remove_server(index: number) {
centered: true,
okText: $gettext('OK'),
cancelText: $gettext('Cancel'),
onOk: () => props.ngx_config?.servers?.splice(index, 1)
onOk() {
props.ngx_config?.servers?.splice(index, 1)
}
})
}
</script>
Expand Down
7 changes: 4 additions & 3 deletions app/src/views/other/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
</script>

<template>
<div class="container">
<div class="login-container">
<div class="login-form">
<div class="project-title">
<h1>Nginx UI</h1>
Expand Down Expand Up @@ -150,11 +150,11 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
</template>

<style lang="less">
.container {
.login-container {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
height: 100vh;
.login-form {
max-width: 400px;
Expand All @@ -181,6 +181,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
.footer {
padding: 30px;
text-align: center;
font-size: 14px;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"2.0.0-beta.4","build_id":47,"total_build":251}
{"version":"2.0.0-beta.4","build_id":49,"total_build":253}

0 comments on commit 6993cc6

Please sign in to comment.