Przeglądaj źródła

HUE-3531 [home] Show shared icon also on shared document

Johan Ahlen 9 lat temu
rodzic
commit
862a83a

+ 2 - 2
desktop/core/src/desktop/templates/file_browser.mako

@@ -588,10 +588,10 @@ from desktop.views import _ko
                   <!-- ko if: ! isDirectory() && definition().type !== 'query-impala' && definition().type !== 'query-hive' -->
                   <use xlink:href="#hi-file"></use>
                   <!-- /ko -->
-                  <!-- ko if: isSharedWithMe() && selected() -->
+                  <!-- ko if: (isShared() || isSharedWithMe()) && selected() -->
                   <use xlink:href="#hi-share-addon-selected"></use>
                   <!-- /ko -->
-                  <!-- ko if: isSharedWithMe() && !selected() -->
+                  <!-- ko if: (isShared() || isSharedWithMe()) && !selected() -->
                   <use xlink:href="#hi-share-addon"></use>
                   <!-- /ko -->
                 </svg>