New source found from dndbeyond.com
This commit is contained in:
+8
-3
@@ -31,6 +31,7 @@ interface Props {
|
||||
preferences: CharacterPreferences;
|
||||
decorationInfo: DecorationInfo;
|
||||
isReadonly: boolean;
|
||||
isVttView?: boolean;
|
||||
paneHistoryStart: PaneInfo["paneHistoryStart"];
|
||||
}
|
||||
class CharacterHeaderInfo extends React.PureComponent<Props, {}> {
|
||||
@@ -54,6 +55,7 @@ class CharacterHeaderInfo extends React.PureComponent<Props, {}> {
|
||||
ruleData,
|
||||
decorationInfo,
|
||||
isReadonly,
|
||||
isVttView,
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
@@ -73,10 +75,13 @@ class CharacterHeaderInfo extends React.PureComponent<Props, {}> {
|
||||
ruleData={ruleData}
|
||||
xpInfo={xpInfo}
|
||||
isInteractive={!isReadonly}
|
||||
isVttView={isVttView}
|
||||
calloutNode={
|
||||
<ThemeButton size="small" style="outline">
|
||||
Manage
|
||||
</ThemeButton>
|
||||
!isVttView && (
|
||||
<ThemeButton size="small" style="outline">
|
||||
Manage
|
||||
</ThemeButton>
|
||||
)
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user