Kaydet (Commit) ede22ada authored tarafından Eda Altuntaş's avatar Eda Altuntaş

Linux için Bug Fix

üst 534cf727
......@@ -99,8 +99,12 @@ export default {
const container = this.containers[this.form.container];
window.ipcRenderer.send("modal_upload", {
Id: container.Id,
Source: container.Labels["desktop.docker.io/binds/0/Source"],
Target: container.Labels["desktop.docker.io/binds/0/Target"],
Source:
container.Labels["desktop.docker.io/binds/0/Source"] ||
container.Mounts[0].Source,
Target:
container.Labels["desktop.docker.io/binds/0/Target"] ||
container.Mounts[0].Destination,
Username: container.Labels["Username"],
File: this.file
});
......
......@@ -127,8 +127,12 @@
v-on:click.native.prevent="
f('upload', {
Id: scope.row.Id,
Source: scope.row.Labels['desktop.docker.io/binds/0/Source'],
Target: scope.row.Labels['desktop.docker.io/binds/0/Target'],
Source:
scope.row.Labels['desktop.docker.io/binds/0/Source'] ||
scope.row.Mounts[0].Destination,
Target:
scope.row.Labels['desktop.docker.io/binds/0/Target'] ||
scope.row.Mounts[0].Destination,
Username: scope.row.Labels['Username']
})
"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment