Skip to content

Commit

Permalink
chore(comment): add comment + minor lint (#3571)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 committed Jun 10, 2022
1 parent 609c6c0 commit 1645721
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 deletions.
6 changes: 5 additions & 1 deletion components/interactables/Checkbox/Checkbox.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<div class="checkbox" :class="{checked: value}">
<check-icon />
<input type="checkbox" :checked="value" @change="$emit('input', $event.target.checked)">
<input
type="checkbox"
:checked="value"
@change="$emit('input', $event.target.checked)"
/>
</div>
3 changes: 2 additions & 1 deletion components/interactables/Checkbox/Checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
border-radius: @corner-rounding;
transition: all @animation-speed ease;

svg, input {
svg,
input {
position: absolute;
}

Expand Down
14 changes: 7 additions & 7 deletions components/interactables/UserPicker/ListItem/ListItem.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="list-item" @click="$emit('click', $event)">
<UiCircle
:type="src ? 'image' : 'random'"
:seed="friend.address"
:size="32"
:source="src"
/>
<UiCircle
:type="src ? 'image' : 'random'"
:seed="friend.address"
:size="32"
:source="src"
/>
<div class="name">{{friend.name}}</div>
<InteractablesCheckbox :value="selected"/>
<InteractablesCheckbox :value="selected" />
</div>
1 change: 0 additions & 1 deletion components/interactables/UserPicker/ListItem/ListItem.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
.name {
font-size: @mini-text-size;
flex-grow: 1;

}
}
7 changes: 1 addition & 6 deletions components/views/navigation/toolbar/Toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
<!-- :src="src"-->
<!-- :clickHandler="openProfile"-->
<!-- />-->
<UiUserState
v-if="!isGroup"
class="circle"
:user="recipient"
:src="src"
/>
<UiUserState v-if="!isGroup" class="circle" :user="recipient" :src="src" />
<GroupIcon v-else :group="recipient" />
</div>
<div class="user-info">
Expand Down
2 changes: 2 additions & 0 deletions libraries/Files/remote/textile/PersonalBucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export class PersonalBucket extends Bucket {
Vue.prototype.$Logger.log('File System', 'Initialized')
} catch (e) {
Vue.prototype.$Logger.log('File System', 'index not found')
// if the user has not uploaded anything, they do not have a files
// index which can cause this console message
}
}

Expand Down

0 comments on commit 1645721

Please sign in to comment.