-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hermes console vue move offsets #1708
Conversation
e0a4869
to
deceba1
Compare
import { useI18n } from 'vue-i18n'; | ||
|
||
const props = defineProps<{ | ||
subscription: Subscription; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do You think about passing just topicName and subscriptionName instead the whole Subscription object?
|
||
const msg = ref<string>(); | ||
|
||
function moveOffsets(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this function should be in composables
$t('subscription.moveOffsets.button') | ||
}}</v-btn> | ||
<!-- TODO: show a popup--> | ||
<p class="text-wrap">{{ msg }}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, we can omit error/success messages printing. I think that it is better to add this as notification (included in Adrian's subscription form PR). Also lets omit confirmation popups for now, we will add this in separate PR.
validateStatus: (status: number) => { | ||
return status > 200 && status < 400; | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I thinking right, that lines 131-135 are not necessary?
deceba1
to
f23a6d4
Compare
f23a6d4
to
c320a7e
Compare
No description provided.