about summary refs log tree commit diff
path: root/components
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-20 22:19:25 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-20 22:19:25 +0200
commit84a95c8c4ecf5348341502f95250c4588181786d (patch)
tree8c087162e946f88b698cd594c50a12ac367679fa /components
parent73c108daf3d470d6ebea0ba58d2289d4ffabb84e (diff)
downloadpuszcza-84a95c8c4ecf5348341502f95250c4588181786d.tar.gz
puszcza-84a95c8c4ecf5348341502f95250c4588181786d.zip
Rename static to pure in NavLink
Diffstat (limited to 'components')
-rw-r--r--components/NavBar.vue2
-rw-r--r--components/NavLink.vue4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/NavBar.vue b/components/NavBar.vue
index 4ffdf16..4bbae72 100644
--- a/components/NavBar.vue
+++ b/components/NavBar.vue
@@ -14,7 +14,7 @@
         :key="route.path"
         :link="route.path"
         :name="route.name"
-        static
+        pure
       />
       <NavLink
         v-for="route in externalRoutes"
diff --git a/components/NavLink.vue b/components/NavLink.vue
index 6d72dc7..bb86ef8 100644
--- a/components/NavLink.vue
+++ b/components/NavLink.vue
@@ -1,7 +1,7 @@
 <template>
   <li class="navlink">
     <a v-if="external" class="link" target="_blank" rel="”noopener”" :href="link">{{ name }}</a>
-    <a v-else-if="static" class="link" :href="link">{{ name }}</a>
+    <a v-else-if="pure" class="link" :href="link">{{ name }}</a>
     <nuxt-link v-else class="link" :to="link">{{ name }}</nuxt-link>
   </li>
 </template>
@@ -12,7 +12,7 @@ export default {
     link: String,
     name: String,
     external: { type: Boolean, default: false },
-    static: { type: Boolean, default: false }
+    pure: { type: Boolean, default: false }
   }
 }
 </script>