Skip to content

Commit

Permalink
Fix gird display. (#105)
Browse files Browse the repository at this point in the history
Fix port_map not set when import from docker compose file.
  • Loading branch information
jerrykuku authored Nov 26, 2024
1 parent 56bf976 commit 718ae11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# .env.dev
NODE_ENV=dev
#VUE_APP_DEV_IP=demo.casaos.io
VUE_APP_DEV_IP=10.0.0.72
VUE_APP_DEV_IP=10.0.0.73
# VUE_APP_DEV_IP=10.147.20.1
# VUE_APP_DEV_IP=192.168.2.15
# VUE_APP_DEV_IP=192.168.2.219
Expand Down
6 changes: 3 additions & 3 deletions src/components/AppSetting/ComposeConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ export default {
isNil(composeServicesItem.ports) && this.$set(composeServicesItem, "ports", []);
// set first port to port_map
// if (composeServicesItem.ports.length > 0 && !this.configData["x-casaos"].port_map) {
// this.configData["x-casaos"].port_map = composeServicesItem.ports[0].published;
// }
if (composeServicesItem.ports.length > 0 && !this.configData["x-casaos"].port_map) {
this.configData["x-casaos"].port_map = composeServicesItem.ports[0].published;
}
//Volume
// https://yeasy.gitbook.io/docker_practice/compose/compose_file#volumes
Expand Down
2 changes: 1 addition & 1 deletion src/components/Apps/AppSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<draggable
v-model="appList"
:draggable="draggable"
class="m-0 columns is-variable is-2 is-multiline app-list contextmenu-canvas"
class="columns is-variable is-2 is-multiline app-list contextmenu-canvas"
tag="div"
v-bind="dragOptions"
@end="onSortEnd"
Expand Down

0 comments on commit 718ae11

Please sign in to comment.