filemanager: Use different owner map for apps and volumes
This commit is contained in:
@@ -491,6 +491,20 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
this.ownersModel = [{
|
||||
uid: 0,
|
||||
label: 'root'
|
||||
}, {
|
||||
uid: 33,
|
||||
label: 'www-data'
|
||||
}, {
|
||||
uid: 1000,
|
||||
label: 'cloudron'
|
||||
}, {
|
||||
uid: 1001,
|
||||
label: 'git'
|
||||
}];
|
||||
|
||||
this.title = `${result.body.label || result.body.fqdn} (${result.body.manifest.title})`;
|
||||
} else if (type === 'volume') {
|
||||
let error, result;
|
||||
@@ -506,6 +520,20 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
this.ownersModel = [{
|
||||
uid: 0,
|
||||
label: 'root'
|
||||
}, {
|
||||
uid: 33,
|
||||
label: 'www-data'
|
||||
}, {
|
||||
uid: 808,
|
||||
label: 'yellowtent'
|
||||
}, {
|
||||
uid: 1001,
|
||||
label: 'git'
|
||||
}];
|
||||
|
||||
this.title = result.body.name;
|
||||
} else {
|
||||
this.fatalError = `Unsupported type ${type}`;
|
||||
@@ -587,4 +615,9 @@ export default {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* this is actually calculated and in some situations the z-index would have to be higher but for the moment ok, needs fixing in primvue */
|
||||
.p-dropdown-panel.p-component {
|
||||
z-index: 5001 !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user