revert old changes

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

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

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

Loading…
Cancel
Save