8000 Vue grant detail by octavioamu · Pull Request #7894 · gitcoinco/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vue grant detail #7894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/v2/css/bootstrap-vue.min.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions app/assets/v2/css/grants/grant.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,6 @@
font-weight: 500;
}

.rounded-circle {
margin-right: 8px;
}

#search_form button {
border: none;
background: transparent;
Expand Down Expand Up @@ -529,7 +525,6 @@

.arrow_box {
position: relative;
background: #fff;
border: 1px solid #0FCE7C;
border-radius: 3px;
}
Expand Down
3 changes: 3 additions & 0 deletions app/assets/v2/js/cart-data.js
8000
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class CartData {
}

static cartContainsGrantWithId(grantId) {
grantId = String(grantId)
const cart = this.loadCart();
const idList = cart.map(grant => {
return grant.grant_id;
Expand Down Expand Up @@ -123,6 +124,8 @@ class CartData {
}

static removeIdFromCart(grantId) {
grantId = String(grantId)

let cartList = this.loadCart();

const newList = cartList.filter(grant => grant.grant_id !== grantId);
Expand Down
Loading
0