Browse Source

Minor tweaks

Angus McLeod 7 years ago
parent
commit
c6d671b90a
2 changed files with 2 additions and 1 deletions
  1. 1 0
      assets/stylesheets/wizard/wizard_custom.scss
  2. 1 1
      plugin.rb

+ 1 - 0
assets/stylesheets/wizard/wizard_custom.scss

@@ -62,6 +62,7 @@
         width: 30px;
         height: 30px;
         vertical-align: middle;
+        padding-bottom: 5px;
       }
     }
   }

+ 1 - 1
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