diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js
index 4fff1da32a6f7adb38effd3c7e962f0d3bc026ad..118c43230340b810704fe73fea58df722b9296d3 100644
--- a/src/layouts/BasicLayout.js
+++ b/src/layouts/BasicLayout.js
@@ -102,12 +102,20 @@ class BasicLayout extends React.PureComponent {
);
}
+ const icon = item.icon && ;
return (
-
- {item.icon && }
- {item.name}
-
+ {
+ /^https?:\/\//.test(itemPath) ? (
+
+ {icon}{item.name}
+
+ ) : (
+
+ {icon}{item.name}
+
+ )
+ }
);
});
diff --git a/src/routes/Dashboard/Workplace.js b/src/routes/Dashboard/Workplace.js
index ba1bd0868fc37d493bfdc7e8f8f15e01ca9f0382..71964fd2b4b767667a6a394b6e74c8e2bc407062 100644
--- a/src/routes/Dashboard/Workplace.js
+++ b/src/routes/Dashboard/Workplace.js
@@ -139,7 +139,7 @@ export default class Workplace extends PureComponent {
const pageHeaderContent = (