diff --git a/app/Space/Updater.php b/app/Space/Updater.php index 0023b7dc..ba607a64 100644 --- a/app/Space/Updater.php +++ b/app/Space/Updater.php @@ -107,7 +107,7 @@ class Updater public static function checkForUpdate() { $data = null; - $url = 'https://craterapp.com/downloads/check/latest/'. Setting::getSetting('version'); + $url = 'https://craterapp.com/downloads/check/latest/'. Setting::getSetting('version') . '?type=update'; $response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]); diff --git a/resources/assets/js/views/settings/UpdateApp.vue b/resources/assets/js/views/settings/UpdateApp.vue index 417a6b57..eca470a0 100644 --- a/resources/assets/js/views/settings/UpdateApp.vue +++ b/resources/assets/js/views/settings/UpdateApp.vue @@ -8,7 +8,7 @@


- + {{ $t('settings.update_app.check_update') }} @@ -98,7 +98,7 @@ export default { if (response.data) { this.updateData.isMinor = response.data.is_minor this.updateData.version = response.data.version.version - this.description = response.data.description + this.description = response.data.version.description this.isUpdateAvailable = true } } catch (e) { diff --git a/resources/assets/sass/laraspace.scss b/resources/assets/sass/laraspace.scss index 5932f35f..e0f71ccd 100644 --- a/resources/assets/sass/laraspace.scss +++ b/resources/assets/sass/laraspace.scss @@ -3,10 +3,8 @@ @import "../../../node_modules/bootstrap/scss/functions"; @import "../../../node_modules/bootstrap/scss/variables"; - @import 'variables'; - // Plugins //---------------------------------- diff --git a/resources/assets/sass/variables.scss b/resources/assets/sass/variables.scss index e11066ec..b7a3503d 100644 --- a/resources/assets/sass/variables.scss +++ b/resources/assets/sass/variables.scss @@ -90,7 +90,7 @@ $theme-colors: ( danger: $ls-color-red, light: $ls-color-primary--light, dark: $ls-color-secondary -) !default; +); $navbar-dark-toggler-icon-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{str-replace(str-replace(#{$navbar-dark-color}, "(", "%28"), ")", "%29")}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); $navbar-light-toggler-icon-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{str-replace(str-replace(#{$navbar-light-color}, "(", "%28"), ")", "%29")}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");