Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
be166c48
Unverified
Commit
be166c48
authored
5 years ago
by
xgui3783
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #359 from HumanBrainProject/feat/uiChanges
bugfix: ds list view pin/unpin stop prop
parents
f3976fa0
37ef2982
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ui/databrowserModule/singleDataset/listView/singleDatasetListView.template.html
+16
-15
16 additions, 15 deletions
...ingleDataset/listView/singleDatasetListView.template.html
with
16 additions
and
15 deletions
src/ui/databrowserModule/singleDataset/listView/singleDatasetListView.template.html
+
16
−
15
View file @
be166c48
...
...
@@ -12,27 +12,28 @@
<ng-container
*ngIf=
"downloadEnabled"
>
<!-- unpin -->
<button
mat-icon-button
*ngIf=
"favedDataentries$ | async | datasetIsFaved : dataset; else pinTmpl"
(click)=
"undoableRemoveFav()"
iav-stop=
"mousedown click"
class=
"no-focus flex-grow-0 flex-shrink-0"
color=
"primary"
>
<mat-icon
fontSet=
"fas"
fontIcon=
"fa-thumbtack"
></mat-icon>
</button>
<div
iav-stop=
"mousedown click"
>
<!-- pin -->
<ng-template
#pinTmpl
>
<!-- unpin -->
<button
mat-icon-button
(click)=
"undoableAddFav()
"
iav-stop=
"mousedown click
"
*ngIf=
"favedDataentries$ | async | datasetIsFaved : dataset; else pinTmpl
"
(click)=
"undoableRemoveFav()
"
class=
"no-focus flex-grow-0 flex-shrink-0"
color=
"
basic
"
>
color=
"
primary
"
>
<mat-icon
fontSet=
"fas"
fontIcon=
"fa-thumbtack"
></mat-icon>
</button>
</ng-template>
<!-- pin -->
<ng-template
#pinTmpl
>
<button
mat-icon-button
(click)=
"undoableAddFav()"
class=
"no-focus flex-grow-0 flex-shrink-0"
color=
"basic"
>
<mat-icon
fontSet=
"fas"
fontIcon=
"fa-thumbtack"
></mat-icon>
</button>
</ng-template>
</div>
</ng-container>
<!-- more menu -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment