Skip to content

Commit

Permalink
Merge pull request #746 from bitholla/hotfix
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
abeikverdi authored May 6, 2021
2 parents fb249f9 + 48ce13e commit c67363d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 9 deletions.
2 changes: 1 addition & 1 deletion server/api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: "2.1.1"
version: "2.1.2"
title: HollaEx Kit
host: api.hollaex.com
basePath: /v2
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.1",
"version": "2.1.2",
"private": false,
"description": "HollaEx Kit",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.1
2.1.2
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hollaex-kit",
"version": "2.1.1",
"version": "2.1.2",
"private": true,
"dependencies": {
"@ant-design/compatible": "1.0.5",
Expand Down
2 changes: 1 addition & 1 deletion web/src/actions/walletActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const getParamsByStatus = (status) => {
case 'completed':
return { status: true };
case 'pending':
return { processing: true };
return { waiting: true };
default:
return {};
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/containers/OperatorControls/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class OperatorControls extends Component {
constructor(props) {
super(props);

const { themeOptions, injected_html = {} } = this.props;
const { themeOptions, injected_html = { head: '', body: '' } } = this.props;

const strings = localStorage.getItem('strings') || '{}';
const icons = localStorage.getItem('icons') || '{}';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import React, { useState } from 'react';
import classnames from 'classnames';
import { Select, Form, Row, Button } from 'antd';
import { CaretDownOutlined } from '@ant-design/icons';
import STRINGS from 'config/localizedStrings';
Expand All @@ -22,9 +23,15 @@ const STATUS_OPTIONS = {

const Filters = ({ coins = {}, onSearch, formName }) => {
const [form] = Form.useForm();
const [isSearchShining, setIsSearchShining] = useState(false);

const onFinish = (values) => {
onSearch(values);
setIsSearchShining(false);
};

const onValuesChange = () => {
setIsSearchShining(true);
};

return (
Expand All @@ -33,6 +40,7 @@ const Filters = ({ coins = {}, onSearch, formName }) => {
name={`${formName}-filters`}
className="ant-advanced-search-form"
onFinish={onFinish}
onValuesChange={onValuesChange}
initialValues={{
status: null,
currency: null,
Expand Down Expand Up @@ -94,7 +102,12 @@ const Filters = ({ coins = {}, onSearch, formName }) => {
</Select>
</Form.Item>
<Form.Item>
<Button type="ghost" htmlType="submit" size="small">
<Button
type="ghost"
htmlType="submit"
size="small"
className={classnames({ active_search_button: isSearchShining })}
>
Search
</Button>
</Form.Item>
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const getNetworkLabelByKey = (network) => {
case 'trx':
return 'TRC20';
default:
network.toUpperCase();
return network.toUpperCase();
}
} else {
return network;
Expand Down

0 comments on commit c67363d

Please sign in to comment.