mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-11-13 04:57:45 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
825ce48a11 | ||
|
|
af588273c4 | ||
|
|
fd37bf9b34 | ||
|
|
7ddff1e69a | ||
|
|
fe952b59d0 | ||
|
|
c4fe9a0c5f | ||
|
|
00a7563174 |
1
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -43,6 +43,7 @@ body:
|
||||
label: Version
|
||||
description: What version of EE2 are you running? You can see this in Settings -> About
|
||||
options:
|
||||
- 0.11.5
|
||||
- 0.11.4
|
||||
- 0.11.3
|
||||
- 0.11.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#  Exiled Exchange 2
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ export default defineConfig({
|
||||
},
|
||||
themeConfig: {
|
||||
// logo: 'TODO', https://github.com/vuejs/vitepress/issues/1401
|
||||
appVersion: '0.11.4',
|
||||
appVersion: '0.11.5',
|
||||
github: {
|
||||
releasesUrl: 'https://github.com/Kvan7/Exiled-Exchange-2/releases'
|
||||
},
|
||||
|
||||
4
main/package-lock.json
generated
4
main/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "exiled-exchange-2",
|
||||
"version": "0.11.4",
|
||||
"version": "0.11.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "exiled-exchange-2",
|
||||
"version": "0.11.4",
|
||||
"version": "0.11.5",
|
||||
"dependencies": {
|
||||
"electron-overlay-window": "3.3.0",
|
||||
"uiohook-napi": "1.5.x"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "exiled-exchange-2",
|
||||
"version": "0.11.4",
|
||||
"version": "0.11.5",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "node build/script.mjs",
|
||||
|
||||
@@ -74,6 +74,11 @@
|
||||
class="rounded px-1 text-gray-800 bg-gray-400 ml-1"
|
||||
>{{ t("You") }}</span
|
||||
>
|
||||
<span
|
||||
v-if="!showSeller && result.inDemand"
|
||||
class="rounded px-1 bg-yellow-500 text-black ml-1"
|
||||
>{{ t("in demand") }}</span
|
||||
>
|
||||
</td>
|
||||
<td v-if="showSeller" class="px-2 whitespace-nowrap">
|
||||
<span
|
||||
@@ -84,6 +89,11 @@
|
||||
<span v-else class="font-sans text-xs">{{
|
||||
showSeller === "ign" ? result.ign : result.accountName
|
||||
}}</span>
|
||||
<span
|
||||
v-if="result.inDemand"
|
||||
class="rounded px-1 bg-yellow-500 text-black ml-1"
|
||||
>{{ t("in demand") }}</span
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
</template>
|
||||
|
||||
@@ -277,7 +277,9 @@ interface FetchResult {
|
||||
type: "~price";
|
||||
};
|
||||
account: Account;
|
||||
in_demand?: boolean;
|
||||
};
|
||||
gone?: boolean;
|
||||
}
|
||||
|
||||
export interface DisplayItem {
|
||||
@@ -308,6 +310,8 @@ export interface PricingResult {
|
||||
accountStatus: "offline" | "online" | "afk";
|
||||
ign: string;
|
||||
displayItem: DisplayItem;
|
||||
inDemand?: boolean;
|
||||
gone?: boolean;
|
||||
}
|
||||
|
||||
export function createTradeRequest(
|
||||
@@ -1050,6 +1054,8 @@ export async function requestResults(
|
||||
: "online"
|
||||
: "offline",
|
||||
displayItem,
|
||||
inDemand: result.listing.in_demand,
|
||||
gone: result.gone,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export function useTradeApi() {
|
||||
_searchResult.result.slice(0, 10),
|
||||
{ accountName: AppConfig().accountName },
|
||||
).then((results) => {
|
||||
_fetchResults.push(...results);
|
||||
_fetchResults.push(...results.filter((res) => !res.gone));
|
||||
})
|
||||
: Promise.resolve();
|
||||
const r2 =
|
||||
@@ -91,7 +91,7 @@ export function useTradeApi() {
|
||||
{ accountName: AppConfig().accountName },
|
||||
).then(async (results) => {
|
||||
await r1.then(() => {
|
||||
_fetchResults.push(...results);
|
||||
_fetchResults.push(...results.filter((res) => !res.gone));
|
||||
});
|
||||
})
|
||||
: Promise.resolve();
|
||||
@@ -116,7 +116,7 @@ export function useTradeApi() {
|
||||
_searchResult.result.slice(fetched, fetched + 10),
|
||||
{ accountName: AppConfig().accountName },
|
||||
).then((results) => {
|
||||
_fetchResults.push(...results);
|
||||
_fetchResults.push(...results.filter((res) => !res.gone));
|
||||
});
|
||||
fetched += 10;
|
||||
await fetchMore();
|
||||
|
||||
Reference in New Issue
Block a user