Skip to content

Commit

Permalink
Merge pull request #360 from Logitar/release/3.0.2
Browse files Browse the repository at this point in the history
Release 3.0.2
  • Loading branch information
Utar94 authored Sep 19, 2023
2 parents ecac788 + 3a1aa5e commit 64fc4c9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Deploy Staging Portal to Azure
on:
push:
branches:
- "hotfix_**"
- "release_**"
- "hotfix/**"
- "release/**"
workflow_dispatch:

jobs:
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Nothing yet.

## [3.0.2] - 2023-09-19

### Fixed

- Required FormSelect with no options.

## [3.0.1] - 2023-09-18

### Fixed
Expand Down Expand Up @@ -101,7 +107,8 @@ Nothing yet.

- Final V1 release.

[unreleased]: https://github.com/Logitar/Portal/compare/v3.0.1...HEAD
[unreleased]: https://github.com/Logitar/Portal/compare/v3.0.2...HEAD
[3.0.2]: https://github.com/Logitar/Portal/compare/v3.0.1...v3.0.2
[3.0.1]: https://github.com/Logitar/Portal/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/Logitar/Portal/compare/v2.1.0...v3.0.0
[2.1.0]: https://github.com/Logitar/Portal/compare/v2.0.0...v2.1.0
Expand Down
2 changes: 1 addition & 1 deletion src/Logitar.Portal.Ui/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VITE_APP_API_BASE_URL=""
VITE_APP_VERSION="3.0.0"
VITE_APP_VERSION="3.0.2"
2 changes: 1 addition & 1 deletion src/Logitar.Portal.Ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "logitar-portal",
"version": "3.0.0",
"version": "3.0.2",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const selectedTemplate = ref<Template>();
const showStatus = ref<boolean>(false);
const variables = ref<Variable[]>([]);
const userHasNoEmail = computed<boolean>(() => !account.authenticated?.email);
const variant = computed<string>(() => {
switch (message.value?.status) {
case "Failed":
Expand All @@ -45,7 +46,6 @@ const variant = computed<string>(() => {
return "secondary";
}
});
const userHasNoEmail = computed<boolean>(() => !account.authenticated?.email);
const emit = defineEmits<{
(e: "error", value: unknown): void;
Expand Down
2 changes: 1 addition & 1 deletion src/Logitar.Portal.Ui/src/components/shared/FormSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const validationListeners = computed<ValidationListeners>(() => ({
<div class="input-group">
<slot name="prepend"></slot>
<select :class="classes" :disabled="disabled" :id="id" :name="inputName" :value="value" v-on="validationListeners">
<option v-if="placeholder" :disabled="required" value="">{{ t(placeholder) }}</option>
<option v-if="placeholder" :disabled="required && Boolean(options.length)" value="">{{ t(placeholder) }}</option>
<option v-for="option in options" :key="option.value" :value="option.value">{{ option.text }}</option>
</select>
<slot name="append"></slot>
Expand Down
2 changes: 1 addition & 1 deletion src/Logitar.Portal.Ui/src/views/DashboardView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { t } = useI18n();
<hr class="my-4" />
<p>{{ t("dashboard.help") }}</p>
<p class="lead">
<RouterLink :to="{ name: 'Profile' }" class="btn btn-primary btn-lg" role="button">
<RouterLink :to="{ name: 'RealmList' }" class="btn btn-primary btn-lg" role="button">
<font-awesome-icon icon="fas fa-chess-rook" /> {{ t("dashboard.link") }}
</RouterLink>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/Logitar.Portal.Web/Extensions/OpenApiExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Logitar.Portal.Web.Extensions;
public static class OpenApiExtensions
{
private const string Title = "Portal API";
private static readonly Version Version = new(3, 0, 0);
private static readonly Version Version = new(3, 0, 2);

public static IServiceCollection AddOpenApi(this IServiceCollection services)
{
Expand Down

0 comments on commit 64fc4c9

Please sign in to comment.