[PlayerPanel] tabCotents loading component change
This commit is contained in:
@@ -7,14 +7,15 @@ import Spotlight from "@enact/spotlight";
|
||||
import { updatePanel } from "../../../../actions/panelActions";
|
||||
import TVirtualGridList from "../../../../components/TVirtualGridList/TVirtualGridList";
|
||||
import { panel_names } from "../../../../utils/Config";
|
||||
import ListEmptyContents from "../../../ImagePanel/ImageSideContents/ListEmptyContents/ListEmptyContents";
|
||||
import PlayerItemCard, { TYPES } from "../../PlayerItemCard/PlayerItemCard";
|
||||
import css from "./LiveChannelContents.module.less";
|
||||
import PlayerTabLoading from "./PlayerTabLoading";
|
||||
|
||||
export default function LiveChannelContents({
|
||||
liveInfos,
|
||||
selectedIndex,
|
||||
setSelectedIndex,
|
||||
tabIndex,
|
||||
}) {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
@@ -78,7 +79,7 @@ export default function LiveChannelContents({
|
||||
noScrollByWheel={false}
|
||||
/>
|
||||
) : (
|
||||
<PlayerTabLoading textType={$L("Show")} />
|
||||
<ListEmptyContents tabIndex={tabIndex} />
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user