pubish buttons get publish icons
This commit is contained in:
parent
334e018c48
commit
a3d9555d38
2 changed files with 5 additions and 2 deletions
|
@ -201,7 +201,8 @@ export default function CreatorAnalytics(props: Props) {
|
||||||
<div className="section__actions">
|
<div className="section__actions">
|
||||||
<Button
|
<Button
|
||||||
button="primary"
|
button="primary"
|
||||||
label={__('New Publish')}
|
icon={ICONS.PUBLISH}
|
||||||
|
label={__('Publish')}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (claim) {
|
if (claim) {
|
||||||
prepareEdit(claim.name);
|
prepareEdit(claim.name);
|
||||||
|
|
|
@ -8,6 +8,7 @@ import { PAGE_PARAM, PAGE_SIZE_PARAM } from 'constants/claim';
|
||||||
import WebUploadList from 'component/webUploadList';
|
import WebUploadList from 'component/webUploadList';
|
||||||
import Spinner from 'component/spinner';
|
import Spinner from 'component/spinner';
|
||||||
import Card from 'component/common/card';
|
import Card from 'component/common/card';
|
||||||
|
import * as ICONS from 'constants/icons';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
uploadCount: number,
|
uploadCount: number,
|
||||||
|
@ -67,8 +68,9 @@ function FileListPublished(props: Props) {
|
||||||
onClick={() => fetchClaimListMine(params.page, params.page_size)}
|
onClick={() => fetchClaimListMine(params.page, params.page_size)}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
icon={ICONS.PUBLISH}
|
||||||
button="secondary"
|
button="secondary"
|
||||||
label={__('New Publish')}
|
label={__('Publish')}
|
||||||
navigate="/$/publish"
|
navigate="/$/publish"
|
||||||
onClick={() => clearPublish()}
|
onClick={() => clearPublish()}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue