ui: fix task description
This commit is contained in:
parent
133de2dd1f
commit
0c83e8891e
|
@ -147,7 +147,7 @@ Ext.define('PBS.Utils', {
|
||||||
},
|
},
|
||||||
|
|
||||||
render_datastore_worker_id: function(id, what) {
|
render_datastore_worker_id: function(id, what) {
|
||||||
const res = id.match(/^(\S+?)_(\S+?)_(\S+?)(_(.+))?$/);
|
const res = id.match(/^(\S+?):(\S+?)\/(\S+?)(\/(.+))?$/);
|
||||||
if (res) {
|
if (res) {
|
||||||
let datastore = res[1], backupGroup = `${res[2]}/${res[3]}`;
|
let datastore = res[1], backupGroup = `${res[2]}/${res[3]}`;
|
||||||
if (res[4] !== undefined) {
|
if (res[4] !== undefined) {
|
||||||
|
|
Loading…
Reference in New Issue