mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 10:31:35 +00:00
Fix dispute resolution titles
This commit is contained in:
parent
6feed1046c
commit
718210ccd8
@ -602,13 +602,13 @@ const TradeBox = ({
|
|||||||
// 17: 'Maker lost dispute'
|
// 17: 'Maker lost dispute'
|
||||||
// 18: 'Taker lost dispute'
|
// 18: 'Taker lost dispute'
|
||||||
} else if ((status == 17 && isMaker) || (status == 18 && !isMaker)) {
|
} else if ((status == 17 && isMaker) || (status == 18 && !isMaker)) {
|
||||||
title = 'You have won the dispute';
|
title = 'You have lost the dispute';
|
||||||
prompt = function () {
|
prompt = function () {
|
||||||
return <DisputeLoserPrompt />;
|
return <DisputeLoserPrompt />;
|
||||||
};
|
};
|
||||||
bondStatus = 'settled';
|
bondStatus = 'settled';
|
||||||
} else if ((status == 17 && !isMaker) || (status == 18 && isMaker)) {
|
} else if ((status == 17 && !isMaker) || (status == 18 && isMaker)) {
|
||||||
title = 'You have lost the dispute';
|
title = 'You have won the dispute';
|
||||||
prompt = function () {
|
prompt = function () {
|
||||||
return <DisputeWinnerPrompt />;
|
return <DisputeWinnerPrompt />;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user