nuxt-users 1.28.1 → 1.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.28.2
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.28.1...v1.28.2)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Lost reactivity ([8049526](https://github.com/rrd108/nuxt-users/commit/8049526))
|
|
11
|
+
- Lost reactivity for user ([742cd1e](https://github.com/rrd108/nuxt-users/commit/742cd1e))
|
|
12
|
+
|
|
13
|
+
### 🏡 Chore
|
|
14
|
+
|
|
15
|
+
- Rename default to users ([4f5345a](https://github.com/rrd108/nuxt-users/commit/4f5345a))
|
|
16
|
+
- Change info comment ([56c3d35](https://github.com/rrd108/nuxt-users/commit/56c3d35))
|
|
17
|
+
- Comment out ([2534222](https://github.com/rrd108/nuxt-users/commit/2534222))
|
|
18
|
+
- Remove unsused import ([cddaf9c](https://github.com/rrd108/nuxt-users/commit/cddaf9c))
|
|
19
|
+
- **release:** V1.28.1 ([d7d33d2](https://github.com/rrd108/nuxt-users/commit/d7d33d2))
|
|
20
|
+
|
|
21
|
+
### ❤️ Contributors
|
|
22
|
+
|
|
23
|
+
- Rrd108 ([@rrd108](https://github.com/rrd108))
|
|
24
|
+
|
|
4
25
|
## v1.28.1
|
|
5
26
|
|
|
6
27
|
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.28.0...v1.28.1)
|
package/dist/module.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, onMounted } from "vue";
|
|
2
|
+
import { computed, onMounted, ref } from "vue";
|
|
3
3
|
import { useAuthentication } from "../composables/useAuthentication";
|
|
4
|
-
|
|
5
|
-
const user = computed(() => authComposable?.user
|
|
4
|
+
const authComposable = ref(null);
|
|
5
|
+
const user = computed(() => authComposable.value?.user ?? null);
|
|
6
6
|
onMounted(() => {
|
|
7
|
-
authComposable = useAuthentication();
|
|
7
|
+
authComposable.value = useAuthentication();
|
|
8
8
|
});
|
|
9
9
|
</script>
|
|
10
10
|
|
|
@@ -31,6 +31,12 @@ onMounted(() => {
|
|
|
31
31
|
|
|
32
32
|
<dt>Last updated:</dt>
|
|
33
33
|
<dd>{{ Intl.DateTimeFormat().format(new Date(user.updated_at)) }}</dd>
|
|
34
|
+
|
|
35
|
+
<dt>Active:</dt>
|
|
36
|
+
<dd>{{ user.active ? "Yes" : "No" }}</dd>
|
|
37
|
+
|
|
38
|
+
<dt>ID:</dt>
|
|
39
|
+
<dd>{{ user.id }}</dd>
|
|
34
40
|
</dl>
|
|
35
41
|
</div>
|
|
36
42
|
</template>
|
package/package.json
CHANGED