diff --git a/workflow_buttons.module b/workflow_buttons.module
index 5a2ce16..64279cb 100755
--- a/workflow_buttons.module
+++ b/workflow_buttons.module
@@ -97,7 +97,7 @@ function workflow_buttons_entity_extra_field_info() {
  * Implements hook_entity_view().
  */
 function workflow_buttons_entity_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {
-  if ($display->getComponent('workflow_buttons')) {
+  if ($view_mode === 'full' && $display->getComponent('workflow_buttons')) {
     $form_state_additions = [
       'workflow_buttons' => TRUE,
     ];
@@ -117,6 +117,10 @@ function workflow_buttons_entity_view(array &$build, EntityInterface $entity, En
  * https://www.drupal.org/forum/support/theme-development/2018-04-20/how-can-i-get-the-content_moderation_state-of-last#comment-12603894
  */
 function workflow_buttons_preprocess_node(&$variables) {
+  if ($variables['view_mode'] !== 'full') {
+    return;
+  }
+
   // Note: Access key booleans in Twig node templates like this:
   // node.isDefaultRevision()
   // node.isLatestRevision()
