projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into 2035-arv-mount-tags-folders
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
virtual_machine.rb
diff --git
a/apps/workbench/app/models/virtual_machine.rb
b/apps/workbench/app/models/virtual_machine.rb
index 1b672108375555517539245316f5bbc16dfa930c..5ff7798a959162eb27d27cf9c35fd41748bd35ac 100644
(file)
--- a/
apps/workbench/app/models/virtual_machine.rb
+++ b/
apps/workbench/app/models/virtual_machine.rb
@@
-15,4
+15,7
@@
class VirtualMachine < ArvadosBase
{current_user_logins: {column_heading: "logins", type: 'array'}},
super]
end
+ def friendly_link_name
+ (hostname && !hostname.empty?) ? hostname : uuid
+ end
end