@live-change/db-admin 0.8.52 → 0.8.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,7 @@
103
103
  <Column field="rows" header="Rows" :headerStyle="{ 'width': '60px' }"></Column>
104
104
  <Column :headerStyle="{ 'width': '140px' }">
105
105
  <template #body="slotProps">
106
- <Button v-if="indexRename == slotProps.data.id"
106
+ <Button v-if="indexRename === slotProps.data.id"
107
107
  @click="ev => finishIndexRename(ev, slotProps.data.id)" type="button"
108
108
  icon="pi pi-save" class="p-button-rounded p-button-primary mr-2" />
109
109
  <Button v-else
@@ -157,6 +157,7 @@
157
157
  const workingZone = inject('workingZone')
158
158
 
159
159
  function deleteTable(event, id) {
160
+ console.log('deleteTable', id)
160
161
  confirm.require({
161
162
  target: event.currentTarget,
162
163
  message: `Do you really want to delete table ${id}?`,
@@ -185,7 +186,7 @@
185
186
  const oldTableName = tableRename.value
186
187
  const tableName = tableNewName.value
187
188
  tableRename.value = null
188
- if(oldTableName == tableName) return
189
+ if(oldTableName === tableName) return
189
190
  workingZone.addPromise('renameTable', (async () => {
190
191
  try {
191
192
  await dao.request([dbApi, 'renameTable'], dbName, oldTableName, tableName)
@@ -201,7 +202,7 @@
201
202
  function handleNewTableSubmit(event) {
202
203
  event.preventDefault()
203
204
  const tableName = newTableName.value
204
- if(tableName.length == 0) return
205
+ if(tableName.length === 0) return
205
206
  newTableName.value = ""
206
207
  workingZone.addPromise('createTable', (async () => {
207
208
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db-admin",
3
- "version": "0.8.52",
3
+ "version": "0.8.53",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --initScript ./init.js --dbAccess",
@@ -19,14 +19,14 @@
19
19
  "type": "module",
20
20
  "dependencies": {
21
21
  "@fortawesome/fontawesome-free": "^6.5.2",
22
- "@live-change/dao": "^0.8.52",
23
- "@live-change/dao-message": "^0.8.52",
24
- "@live-change/dao-sockjs": "^0.8.52",
25
- "@live-change/dao-vue3": "^0.8.52",
26
- "@live-change/dao-websocket": "^0.8.52",
27
- "@live-change/framework": "^0.8.52",
28
- "@live-change/vue3-components": "^0.8.52",
29
- "@live-change/vue3-ssr": "^0.8.52",
22
+ "@live-change/dao": "^0.8.53",
23
+ "@live-change/dao-message": "^0.8.53",
24
+ "@live-change/dao-sockjs": "^0.8.53",
25
+ "@live-change/dao-vue3": "^0.8.53",
26
+ "@live-change/dao-websocket": "^0.8.53",
27
+ "@live-change/framework": "^0.8.53",
28
+ "@live-change/vue3-components": "^0.8.53",
29
+ "@live-change/vue3-ssr": "^0.8.53",
30
30
  "@vitejs/plugin-vue": "^5.0.5",
31
31
  "@vueuse/core": "^10.11.0",
32
32
  "@vueuse/head": "^2.0.0",
@@ -53,7 +53,7 @@
53
53
  "vue3-scroll-border": "0.1.6"
54
54
  },
55
55
  "devDependencies": {
56
- "@live-change/codeceptjs-helper": "^0.8.52",
56
+ "@live-change/codeceptjs-helper": "^0.8.53",
57
57
  "@wdio/selenium-standalone-service": "^8.15.0",
58
58
  "codeceptjs": "^3.6.5",
59
59
  "generate-password": "1.7.1",
@@ -66,5 +66,5 @@
66
66
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
67
67
  "license": "ISC",
68
68
  "description": "",
69
- "gitHead": "d06ad62415cc92e15b5dee87078614d4f883eb83"
69
+ "gitHead": "39422adadd1863fa396fc4e875936e09428d6cf1"
70
70
  }