From c6d671b90accd40c56f2cd39e1d8afa7b5f83895 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 22 Nov 2017 21:06:09 +0800 Subject: [PATCH] Minor tweaks --- assets/stylesheets/wizard/wizard_custom.scss | 1 + plugin.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/stylesheets/wizard/wizard_custom.scss b/assets/stylesheets/wizard/wizard_custom.scss index 9f776559..074a7ada 100644 --- a/assets/stylesheets/wizard/wizard_custom.scss +++ b/assets/stylesheets/wizard/wizard_custom.scss @@ -62,6 +62,7 @@ width: 30px; height: 30px; vertical-align: middle; + padding-bottom: 5px; } } } diff --git a/plugin.rb b/plugin.rb index a3d755bf..63fc826b 100644 --- a/plugin.rb +++ b/plugin.rb @@ -119,7 +119,7 @@ after_initialize do end def complete_custom_wizard - if requires_completion = CustomWizard::Wizard.prompt_completion(scope.user) + if scope.user && requires_completion = CustomWizard::Wizard.prompt_completion(scope.user) requires_completion.map { |w| { name: w[:name], url: "/w/#{w[:id]}" } } end end