diff --git a/src/recordings.jsx b/src/recordings.jsx index 653bc1a..b995614 100644 --- a/src/recordings.jsx +++ b/src/recordings.jsx @@ -379,9 +379,6 @@ class Recording extends React.Component { constructor(props) { super(props); this.goBackToList = this.goBackToList.bind(this); - this.getHostname = this.getHostname.bind(this); - this.Hostname = this.Hostname.bind(this); - this.hostname = null; } goBackToList() { @@ -392,35 +389,6 @@ class Recording extends React.Component { } } - getHostname() { - cockpit.spawn(["hostname"], { err: "ignore" }) - .done(function(output) { - this.hostname = $.trim(output); - }) - .fail(function(ex) { - console.log(ex); - }); - } - - Hostname(props) { - let style = { - display: "none" - }; - if (this.hostname != null && this.hostname != props.hostname) { - style = {}; - } - return ( -