mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 10:22:36 +01:00
disable unfinished buttons
This commit is contained in:
parent
e93c37efbb
commit
631d2351ce
@ -5,6 +5,7 @@ import ReactDOM from 'react-dom';
|
||||
import { App } from './App';
|
||||
import './index.scss';
|
||||
|
||||
//@ts-ignore
|
||||
library.add(fas);
|
||||
|
||||
ReactDOM.render(
|
||||
|
@ -63,13 +63,13 @@ export const GuideToolOngoingView: FC<GuideToolOngoingViewProps> = props =>
|
||||
<div className="d-flex gap-2 align-items-center bg-secondary p-2 text-white">
|
||||
{ isGuide && <div className="btn-group">
|
||||
<button className="btn btn-light btn-sm" onClick={ visit }>{ LocalizeText('guide.help.request.guide.ongoing.visit.button') }</button>
|
||||
<button className="btn btn-light btn-sm" onClick={ invite }>{ LocalizeText('guide.help.request.guide.ongoing.invite.button') }</button>
|
||||
<button className="btn btn-light btn-sm" disabled onClick={ invite }>{ LocalizeText('guide.help.request.guide.ongoing.invite.button') }</button>
|
||||
</div> }
|
||||
{ !isGuide && <div>
|
||||
<div className="fw-bold">{ userName }</div>
|
||||
<div>{ LocalizeText('guide.help.request.user.ongoing.guide.desc') }</div>
|
||||
</div> }
|
||||
<div className="ms-auto text-decoration-underline cursor-pointer text-nowrap">{ LocalizeText('guide.help.common.report.link') }</div>
|
||||
<div className="ms-auto text-decoration-underline cursor-pointer text-nowrap text-muted">{ LocalizeText('guide.help.common.report.link') }</div>
|
||||
</div>
|
||||
<div className="p-2 d-flex flex-column gap-1">
|
||||
<div className="text-black d-flex flex-column gap-2 p-2 chat-messages bg-muted rounded">
|
||||
|
Loading…
x
Reference in New Issue
Block a user