revert old changes

pull/5352/head
rajatchauhanyti 3 years ago
parent 9b97720eac
commit 5183284013

@ -4,7 +4,7 @@
.login-sd .login-sd
.d-flex.mb-5 .d-flex.mb-5
.login-logo .login-logo
v-avatar(tile, size='44') v-avatar(tile, size='34')
v-img(:src='logoUrl') v-img(:src='logoUrl')
.login-title .login-title
.text-h6.grey--text.text--darken-4 {{ siteTitle }} .text-h6.grey--text.text--darken-4 {{ siteTitle }}
@ -723,8 +723,8 @@ export default {
padding: 12px 0 0 12px; padding: 12px 0 0 12px;
width: 58px; width: 58px;
height: 58px; height: 58px;
// background-color: #222; background-color: #222;
// margin-left: 12px; margin-left: 12px;
border-bottom-left-radius: 7px; border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px; border-bottom-right-radius: 7px;
} }
@ -732,7 +732,6 @@ export default {
&-title { &-title {
height: 58px; height: 58px;
padding-left: 12px; padding-left: 12px;
padding-top: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
text-shadow: .5px .5px #FFF; text-shadow: .5px .5px #FFF;

@ -38,7 +38,7 @@ module.exports = {
SiteMutation: { SiteMutation: {
async updateConfig(obj, args, context) { async updateConfig(obj, args, context) {
try { try {
if (args.hasOwnProperty('host')) { if (args.host) {
let siteHost = _.trim(args.host) let siteHost = _.trim(args.host)
if (siteHost.endsWith('/')) { if (siteHost.endsWith('/')) {
siteHost = siteHost.slice(0, -1) siteHost = siteHost.slice(0, -1)
@ -46,19 +46,19 @@ module.exports = {
WIKI.config.host = siteHost WIKI.config.host = siteHost
} }
if (args.hasOwnProperty('title')) { if (args.title) {
WIKI.config.title = _.trim(args.title) WIKI.config.title = _.trim(args.title)
} }
if (args.hasOwnProperty('company')) { if (args.company) {
WIKI.config.company = _.trim(args.company) WIKI.config.company = _.trim(args.company)
} }
if (args.hasOwnProperty('contentLicense')) { if (args.contentLicense) {
WIKI.config.contentLicense = args.contentLicense WIKI.config.contentLicense = args.contentLicense
} }
if (args.hasOwnProperty('logoUrl')) { if (args.logoUrl) {
WIKI.config.logoUrl = _.trim(args.logoUrl) WIKI.config.logoUrl = _.trim(args.logoUrl)
} }

Loading…
Cancel
Save