diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-20 22:19:25 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-20 22:19:25 +0200 |
commit | 84a95c8c4ecf5348341502f95250c4588181786d (patch) | |
tree | 8c087162e946f88b698cd594c50a12ac367679fa /components | |
parent | 73c108daf3d470d6ebea0ba58d2289d4ffabb84e (diff) | |
download | puszcza-84a95c8c4ecf5348341502f95250c4588181786d.tar.gz puszcza-84a95c8c4ecf5348341502f95250c4588181786d.zip |
Rename static to pure in NavLink
Diffstat (limited to 'components')
-rw-r--r-- | components/NavBar.vue | 2 | ||||
-rw-r--r-- | components/NavLink.vue | 4 |
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> |