Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
b35c6315
Commit
b35c6315
authored
Feb 22, 2020
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(fix setting btn and webpack config): fix setting btn and webpack config
parent
b299d6ae
Pipeline
#1075
passed with stage
in 43 minutes and 17 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
14 deletions
+23
-14
TransliterationRoute.vue
client/components/TransliterationRoute.vue
+4
-8
UserSetting.vue
client/components/UserSetting.vue
+17
-4
webpack.config.js
webpack.config.js
+2
-2
No files found.
client/components/TransliterationRoute.vue
View file @
b35c6315
...
...
@@ -196,6 +196,7 @@ export default {
let
scrollerEndPoint
=
scrollHeight
-
divHeight
;
let
divScrollerTop
=
e
.
target
.
scrollTop
;
if
(
divScrollerTop
===
scrollerEndPoint
)
{
this
.
count
=
Counts
.
get
(
"transliterationCount"
);
if
(
this
.
transliterationdb
.
length
<
this
.
count
)
{
this
.
limit
+=
5
;
...
...
@@ -220,15 +221,10 @@ export default {
$subscribe
:
{
translitdbuploads
:
[],
transliterationdb
:
function
()
{
this
.
TransliterationLoading
=
true
;
//
this.TransliterationLoading = true;
return
[
{
limit
:
this
.
limit
},
{
onStop
:
error
=>
{
this
.
TransliterationLoading
=
false
;
}
}
{
limit
:
this
.
limit
}
];
},
transliterationdbCount
:
[]
...
...
@@ -238,7 +234,7 @@ export default {
},
transliterationdb
()
{
return
TransliterationDb
.
find
({},
{
limit
:
this
.
limit
,
sort
:
{
ID
:
1
}
});
return
TransliterationDb
.
find
({},
{
sort
:
{
ID
:
1
}
});
}
}
};
...
...
client/components/UserSetting.vue
View file @
b35c6315
...
...
@@ -7,7 +7,8 @@
<v-card-text>
<v-row
style=
"margin:auto"
>
<v-col
cols=
"12"
class=
"d-flex justify-center align-center flex-wrap"
>
<v-list-item-avatar
size=
"200"
>
<div>
<v-avatar
size=
"200"
>
<v-img
v-if=
"!temp"
:src=
"src"
></v-img>
<v-img
v-else
:src=
"newSrc"
></v-img>
<v-btn
...
...
@@ -17,6 +18,17 @@
>
<v-icon>
add_a_photo
</v-icon>
</v-btn>
</v-avatar>
<input
v-show=
"false"
ref=
"inputUpload"
type=
"file"
@
change=
"fileUploadFunc"
accept=
"image/x-png, image/gif, image/jpeg"
/>
</div>
<input
v-show=
"false"
ref=
"inputUpload"
...
...
@@ -24,7 +36,6 @@
@
change=
"fileUploadFunc"
accept=
"image/x-png, image/gif, image/jpeg"
/>
</v-list-item-avatar>
</v-col>
</v-row>
<v-row
style=
"margin:auto"
>
...
...
@@ -91,7 +102,6 @@ export default {
this
.
alertSnackbar
=
true
;
},
saveUserProfile
()
{
;
this
.
loading
=
true
;
if
(
this
.
newSelectedLang
==
null
||
this
.
newSelectedLang
==
undefined
)
{
this
.
alertSnackbarMethod
(
this
.
$t
(
"UserSetting.chooseLanguage"
));
...
...
@@ -163,7 +173,6 @@ export default {
},
selectedLang
:
{
get
()
{
;
if
(
this
.
users
&&
this
.
users
.
length
>
0
)
{
this
.
newSelectedLang
=
this
.
users
[
0
].
profile
.
language
;
return
this
.
users
[
0
].
profile
.
language
;
...
...
@@ -193,4 +202,7 @@ export default {
};
</
script
>
<
style
scoped
>
.v-avatar
{
overflow
:
initial
;
}
</
style
>
\ No newline at end of file
webpack.config.js
View file @
b35c6315
...
...
@@ -206,8 +206,8 @@ const serverConfig = {
hot
:
true
,
open
:
true
},
devtool
:
'source-map'
,
mode
:
"development"
,
devtool
:
process
.
env
.
NODE_ENV
==
'production'
?
''
:
'source-map'
,
mode
:
process
.
env
.
NODE_ENV
,
module
:
{
rules
:
[{
test
:
/
\.
js$/
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment